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