Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Errors in Testing Mutation++

Aperta
#280 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cmake, cpp
Ambito
build-system

Direzione di ricerca

Start by reading the CMake configuration and installation instructions referenced in the report, then check how testing is enabled and how the local install prefix is set. Reproduce the reported bprime failures and missing test discovery with the described commands. Done means a local installation can run the documented tests and the bprime example, with the expected setup steps clear.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I installed mutation++ on my Linux machine, and tried to test the installation. However, I encountered some issues with the testing as discussed below.

  1. The tests 'checkmix air_11' and 'mppequil -h' were successful. Furthermore, when I did 'mppequil -T 300💯15000 -P 101325 -m 1-3,8 air_11', I got some results.
  2. Next when I did 'bprime -h', the test is successful. But if I followed the example provided for bprime (' bprime -T 300💯5000 -P 101325 -b 10 -m carbonPhenol -bl BLedge -py Gas'), I get an error message: File not found: carbonPhenol.xml.
  3. Afterwards, when I changed the mixture file name to 'tacot-air_35', I obtained a 'floating point exception (core dumped)'.
  4. Thinking that I the code wasn't properly built/installed, I tried to follow the instructions for complete testing. I am, however, having difficulties understanding in what you meant by setting 'ENABLE_TESTING ON' during CMAKE Configuration step. So, I did 'cmake -DBUILD_TESTING=ON ~/Mutationpp', wherein I got the following error message 'Install the project...
    -- Install configuration: "Release"
    CMake Error at src/cmake_install.cmake:46 (file):
    file cannot create directory: /usr/local/lib64/cmake/mutation++. Maybe
    need administrative privileges.
    Call Stack (most recent call first):
    cmake_install.cmake:47 (include)'
  5. I don't have administrative privileges and I only wanted a local installation for myself. So, I manually changed all occurrences of /usr/local/bin/lib64 to /usr/../../../Mutaionpp/lib64.
  6. At the end of which 'make install' worked but when I did 'ctests', I received an error message that no test found (or something to the effect.

I am new to using Mutation++ and mostly interested in using the 'bprime' capability for different TPS materials. So, I will appreciate you input in having the code properly installed, tested, and running. Thank you.

Lingua principale
C++
Stelle
145
Fork
79
Merge medio
1g 15h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mutationpp/Mutationpp

Tutte le issue di mutationpp/Mutationpp

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.