Unable to compile on Ubuntu 20.04 or run executable

Issue #2539 invalid
Jason Kodish created an issue

I have attempted to compile the toolkit per https://github.com/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb

It goes along until getting to this point and stops:

COMPILING Carpet/CarpetLib/src/prolongate_4d_o1_rf2.cc
make[2]: *** [/home/cenobyte/Cactus/lib/make/make.thornlib:113: make.checked] Error 2
make[1]: *** [/home/cenobyte/Cactus/lib/make/make.configuration:179: /home/cenobyte/Cactus/configs/sim/lib/libthorn_ML_CCZ4.a] Error 2
Creating /home/cenobyte/Cactus/configs/sim/lib/libthorn_CarpetLib.a
make: *** [Makefile:265: sim] Error 2

Some googling has suggested those errors can be ignored (Can they be?), but when I try to run the HelloWorld test example I get this:

./simfactory/bin/sim create-run helloworld --parfile arrangements/CactusExamples/HelloWorld/par/HelloWorld.par
Parameter file: /home/cenobyte/Cactus/arrangements/CactusExamples/HelloWorld/par/HelloWorld.par
Error: Executable /home/cenobyte/Cactus/exe/cactus_sim for configuration sim does not exist or is not readable
Aborting Simfactory.

Is this because of the failed compile or something else?
Not sure how to fix that.

Comments (8)

  1. Steven R. Brandt

    I didn’t see the original email. He should try running the following:

    sudo apt-get install -y libjpeg-turbo?-dev gcc git liblapack-dev make subversion g++ libpapi-dev libhwloc-dev hwloc rsync libopenmpi-dev libhdf5-openmpi-dev libssl-dev numactl gfortran libhdf5-dev libfftw3-dev patch libgsl-dev pkg-config

  2. Roland Haas

    I just gave the instructions a try on a freshly installed and updated Ubuntu 20.04 VM. I could compile fine followign the instructions from the tutorial, which probably matches (mostly) with what Steve’s suggestion would achieve.

    So: worksforme.

    Since it clearly fails for you, one needs to find out why. Unfortunately the partial error output that was provided is not quite enough to do so. Instead the full build log would be helpful. Namely if you could attach the file make.log produced by:

    make sim-realclean
    VERBOSE=yes ./simfactory/bin/sim build -j1 sim 2>&1 | tee make.log

  3. Roland Haas

    Unless objected, since there is no activity in this ticket I will close it as “invalid” after 2021-08-13.

  4. Log in to comment