[Users] ET build errors (Leonardo DCGP, CINECA cluster)
IOSIF PANAGIOTIS
PANAGIOTIS.IOSIF at units.it
Tue Sep 2 11:47:25 CDT 2025
Hi Roland,
I amended my cfg file and added the flag -ffixed-line-length-none , in the Fortran 77 and 90 compiler options:
*
F77FLAGS = -g -march=native -fcray-pointer -ffixed-line-length-none
*
F90FLAGS = -g -march=native -fcray-pointer -ffixed-line-length-none
This step solved the issue with the complaints about the "Exact" thorn.
The build process continued and stopped at a different point, now complaining about the CarpetX/Arith thorn.
I have attached the new make.log file.
I ran the log through ChatGPT, and it suggested that this could be caused by C++ standard mismatches.
Does this sound reasonable to you?
Currently, the flags for the C and C++ compilers in my config file are like this:
*
CFLAGS = -g -march=native -std=gnu99
*
CXXFLAGS = -g -march=native -std=gnu++11
I checked Bruno's file, and the respective options there are the following:
*
CFLAGS = -g -std=gnu99 #-std=c11
*
CXXFLAGS = -g -std=gnu++0x #-std=c++14
However, I should note that in Bruno's version, all CarpetX-related thorns are disabled in the ini file.
Again, I am not sure I need CarpetX.
At this point, I am trying to get the build process to work and run some examples on the cluster.
Returning to the compiler options, I suspect that CFLAGS can be left alone.
Do you have any suggestions on how to change CXXFLAGS to bypass the CarpetX/Arith complaints?
I checked the different C dialect options here<https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html>, and it seems that there are a number of possibilities.
Is there some -std=... option that is new enough for CarpetX and old/standard enough so that older C++ code is also OK?
Best,
Panayotis
________________________________
From: Roland Haas <rhaas at phas.ubc.ca>
Sent: Tuesday, September 2, 2025 5:43 PM
To: IOSIF PANAGIOTIS <PANAGIOTIS.IOSIF at units.it>
Cc: Einstein Toolkit Users <users at einsteintoolkit.org>
Subject: Re: [Users] ET build errors (Leonardo DCGP, CINECA cluster)
Hello Panayotis,
Oh, I had not noticed, sorry. Hmm, that is the typical cause for these
issues.
The only other difference I see is `-ffixed-line-length-none` though
that would also point to an issue with the Cactus Fortran file
processing not breaking things into short enough lines.
Yours,
Roland
> [CAUTION: Non-UBC Email]
>
> Hi Roland,
>
> In the config file I attached, I do have this line included already:
>
> FPPFLAGS = -g -traditional
>
> Is there anything else I might try?
>
> Best,
> Panayotis
> ________________________________
> From: Roland Haas <rhaas at phas.ubc.ca>
> Sent: Tuesday, September 2, 2025 5:08 PM
> To: IOSIF PANAGIOTIS <PANAGIOTIS.IOSIF at units.it>
> Cc: Einstein Toolkit Users <users at einsteintoolkit.org>
> Subject: Re: [Users] ET build errors (Leonardo DCGP, CINECA cluster)
>
> Hello Panayotis,
>
> Thanks for including all the output files.
>
> In your options list whenever your set FPP you also must also set
> FPPFLAGS:
>
> FPPFLAGS=-traditional
>
> See eg generic.cfg or (very new!) Bruno's leonardo-DCGP.cfg file (in
> simfactory master).
>
> Yours,
> Roland
>
> > [CAUTION: Non-UBC Email]
> >
> > Hi Einstein Toolkit users,
> >
> > I am reaching out regarding some errors I am encountering during my attempts to compile ET on the Leonardo, CINECA cluster (DCGP partition).
> >
> > Here are some details on the Leonardo cluster:
> >
> > *
> > cluster specifics: https://docs.hpc.cineca.it/hpc/leonardo.html#leonardo-card
> > *
> > OS: Red Hat Enterprise Linux 8.7
> >
> > I attach the 4 configuration files I am using (with many added comments for guidance and future reference).
> > I adapted them from the respective config files that Bruno Giacomazzo kindly provided.
> >
> > I also attach the make.log output of the command:
> >
> > ./simfactory/bin/sim build --verbose --reconfig --machine=leonardo-dcgp1 --optionlist simfactory/mdb/optionlists/leonardo-dcgp1.cfg --allocation=CNHPC_1479290_0 --thornlist thornlists/einsteintoolkit.th 2>&1 | tee make.log
> >
> > From what I understand, the build process complains about syntax errors in the Exact thorn in these two source files:
> >
> > *
> > decode_pars.F
> > *
> > Boost_rotation_symmetric.F
> >
> > How can I bypass the above problems?
> >
> > To be honest, I am not sure that I really need this thorn.
> > I was simply trying to compile ET using the default thornlist from a fresh download/installation.
> >
> > Is there any other error that the log file is pointing out that I might be missing?
> >
> > Best regards,
> > Panayotis
> >
> >
> > -------------------
> > Panagiotis Iosif
> > postdoctoral researcher
> > Department of Physics, University of Trieste
> > Via Alfonso Valerio 2, Trieste 34127
> > Italy
> > -------------------
> >
>
>
> --
> 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 .
--
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 .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/users/attachments/20250902/7d4028ab/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 423233 bytes
Desc: make.log
URL: <http://lists.einsteintoolkit.org/pipermail/users/attachments/20250902/7d4028ab/attachment-0001.bin>
More information about the Users
mailing list