Hello Roland, thank you very much for your answe.
Il giorno lun 17 feb 2020 alle ore 21:12 Roland Haas <[email protected]> ha scritto: > Hello Federico, > > this is just a guess: issues with Fortran modules, can be caused by > updates of the Fortran compiler (since they are specific to the exact > compiler version). > Yes, indeed it is what I was guessing but I cannot figure out what is going on. > > The compiled Fortran modules are stored in the "configs/sim/scratch" > directory and are removed (and then recompiled) by both the "clean" and > the "realclean" targets. > > Can you try if you can compile after running: > > make sim-clean > > please (and then check before compiling that > configs/ET/scratch/cctk.mod is not present)? Looking at your log file, > this does not seem very likely to help (since you have "COMPILING > CactusBase/Fortran/src/cctk.F90") but it may be worth a try at least. > > You may also want to check that there is no file named "cctk.mod" > anywhere else (eg by running "find > /home/federico/Documents/EinsteinToolkit/Cactus/ -name cctk.mod"). > When I am doing the first compilation, I indeed getting a cctk.mod file in configs/ET/scratch. I am attaching this file. After the clean flag I get nothing when finding the cctk.mod file in the Cactus directory. However, if I repeat the make ET command, I am getting an error related to hwloc, namely: Checking status of thorn hwloc make[3]: *** No rule to make target '/home/federico/Documents/EinsteinToolkit/Cactus/configs/ET/scratch/done/hwloc', needed by 'make.checked'. Stop. /home/federico/Documents/EinsteinToolkit/Cactus/lib/make/make.thornlib:112: recipe for target 'make.checked' failed make[2]: *** [make.checked] Error 2 /home/federico/Documents/EinsteinToolkit/Cactus/lib/make/make.configuration:181: recipe for target '/home/federico/Documents/EinsteinToolkit/Cactus/configs/ET/lib/libthorn_hwloc.a' failed make[1]: *** [/home/federico/Documents/EinsteinToolkit/Cactus/configs/ET/lib/libthorn_hwloc.a] Error 2 Makefile:256: recipe for target 'ET' failed make: *** [ET] Error 2 > > The toolkit compiles on a freshly installed Ubuntu 18.04 VM for me (and > with gcc 6, gcc 7, gcc 8, gcc 9 on my Debian Bullseye workstation), so > there may be something odd going on. > > Would you mind attaching the file cctk.mod produced on your system as > well as the machine ini file for WS03 (WS03.ini in > simfactory/mdb/machines), please? > Sure, I attach the cctk.mod file of the first trial, the compilation2.out of the second make and the WS03.ini files. Is there something I am missing? > > Yours, > Roland > Thank you very much, Federico. > > > Dear EinsteiToolkit user support, > > > > I am recently experiencing some issues compiling the ETK standard > thornlist > > (version "Mayer") on my Workstation with Ubuntu 18.04 as OS. > > > > Once I could compile the ETK (version "Tesla") correctly but after some > > recent upgrades, I cannot compile any thornlist within my machine. So I > > tried downloading the ETK most recent version (namely "Mayer) and build > the > > standar thornlist from scratch, but I am always getting the same error. > > > > I attach the compilation output of my last trial (namely the "ET" > > configuration). In order to build the ET configuration, I used the > > following command: > > > > ./simfactory/bin/sim build ET --machine=WS03 --thornlist=./thornlists/ > > einsteintoolkit.th >& compilation.out > > > > The WS03 machine was defined by me in a "standard" way, and the WS03.ini > > file is calling the generic.cfg, generic.run and generic.sub files. > > > > The current version of gcc, g++, gfortran and cpp compilers that I am > using > > are the 7.4.0 GNU ones, although I tried also the 5.5 and 8.3 ones > (always > > getting the same error). In order to set the version of the compiler, I > am > > currently using the following command (for gcc - for the other compiler > it > > is equivalent): > > > > sudo update-alternatives --config gcc > > > > As you can see, the last lines in the compilation.out files are the > > following: > > > > Checking status of thorn CalcK > > COMPILING EinsteinAnalysis/CalcK/src/CalcK.F90 > > f951: Fatal Error: Reading module ‘cctk’ at line 1310 column 20: > Unexpected > > EOF > > compilation terminated. > > > /home/federico/Documents/EinsteinToolkit/Cactus/configs/ET/config-data/make.config.rules:409: > > recipe for target 'CalcK.F90.o' failed > > make[3]: *** [CalcK.F90.o] Error 1 > > > /home/federico/Documents/EinsteinToolkit/Cactus/lib/make/make.thornlib:112: > > recipe for target 'make.checked' failed > > make[2]: *** [make.checked] Error 2 > > > /home/federico/Documents/EinsteinToolkit/Cactus/lib/make/make.configuration:181: > > recipe for target > > > '/home/federico/Documents/EinsteinToolkit/Cactus/configs/ET/lib/libthorn_CalcK.a' > > failed > > make[1]: *** > > > [/home/federico/Documents/EinsteinToolkit/Cactus/configs/ET/lib/libthorn_CalcK.a] > > Error 2 > > Makefile:256: recipe for target 'ET' failed > > make: *** [ET] Error 2 > > > > Do you have any suggestions for me? > > > > Best regards, > > Federico Cipolletta. > > > > -- > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from http://pgp.mit.edu . >
cctk.mod
Description: audio/mod
compilation2.out
Description: Binary data
WS03.ini
Description: Binary data
_______________________________________________ Users mailing list [email protected] http://lists.einsteintoolkit.org/mailman/listinfo/users
