<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Roland,<br>
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I amended my cfg file and added the flag <code>-ffixed-line-length-none</code> , in the Fortran 77 and 90 compiler options:</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<ul data-editing-info="{"applyListStyleFromLevel":true}" style="margin-top: 0px; margin-bottom: 0px; list-style-type: disc;">
<li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div role="presentation" class="elementToProof" style="line-height: 19px;"><code>F77FLAGS = -g -march=native -fcray-pointer -ffixed-line-length-none</code></div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div role="presentation" class="elementToProof" style="line-height: 19px;"><code>F90FLAGS = -g -march=native -fcray-pointer -ffixed-line-length-none</code></div>
</li></ul>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<b>This step solved the issue with the complaints about the "Exact" thorn.</b></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
The build process continued and stopped at a different point, now complaining about the
<b>CarpetX/Arith</b> thorn.<br>
<br>
I have attached the new <code>make.log</code> file.<br>
<br>
I ran the log through ChatGPT, and it suggested that this could be caused by C++ standard mismatches.<br>
Does this sound reasonable to you?<br>
<br>
Currently, the flags for the C and C++ compilers in my config file are like this:</div>
<ul data-editing-info="{"applyListStyleFromLevel":true}" style="margin-top: 0px; margin-bottom: 0px; list-style-type: disc;">
<li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div role="presentation" class="elementToProof" style="line-height: 19px;"><code>CFLAGS = -g -march=native -std=gnu99</code></div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div role="presentation" class="elementToProof" style="line-height: 19px;"><code>CXXFLAGS = -g -march=native -std=gnu++11</code></div>
</li></ul>
<div class="elementToProof" style="line-height: 19px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="line-height: 19px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I checked Bruno's file, and the respective options there are the following:</div>
<ul data-editing-info="{"applyListStyleFromLevel":true}" style="margin-top: 0px; margin-bottom: 0px; list-style-type: disc;">
<li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div role="presentation" class="elementToProof" style="line-height: 18px;"><code>CFLAGS = -g -std=gnu99 #-std=c11</code></div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div role="presentation" class="elementToProof" style="line-height: 18px;"><code>CXXFLAGS = -g -std=gnu++0x #-std=c++14</code></div>
</li></ul>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
However, I should note that in Bruno's version, all CarpetX-related thorns are disabled in the ini file. </div>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Again, I am not sure I need <b>CarpetX. </b><br>
At this point, I am trying to get the build process to work and run some examples on the cluster.</div>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
<br>
</div>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Returning to the compiler options, I suspect that <code>CFLAGS</code> can be left alone.<br>
Do you have any suggestions on how to change <code>CXXFLAGS</code> to bypass the <b>
CarpetX/Arith</b> complaints?<br>
<br>
</div>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I checked the <a title="https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html" id="LPlnk509730" href="https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html">
different C dialect options here</a>, and it seems that there are a number of possibilities.</div>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Is there some <code>-std=...</code> option that is <b>new enough for CarpetX and old/standard enough so that older C++ code is also OK</b>?</div>
<div class="elementToProof" style="line-height: 18px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
<br>
Best,<br>
Panayotis<br>
<br>
</div>
<div class="elementToProof" style="line-height: 19px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
<br>
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Roland Haas <rhaas@phas.ubc.ca><br>
<b>Sent:</b> Tuesday, September 2, 2025 5:43 PM<br>
<b>To:</b> IOSIF PANAGIOTIS <PANAGIOTIS.IOSIF@units.it><br>
<b>Cc:</b> Einstein Toolkit Users <users@einsteintoolkit.org><br>
<b>Subject:</b> Re: [Users] ET build errors (Leonardo DCGP, CINECA cluster)</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hello Panayotis,<br>
<br>
Oh, I had not noticed, sorry. Hmm, that is the typical cause for these<br>
issues. <br>
<br>
The only other difference I see is `-ffixed-line-length-none` though<br>
that would also point to an issue with the Cactus Fortran file<br>
processing not breaking things into short enough lines. <br>
<br>
Yours,<br>
Roland<br>
<br>
> [CAUTION: Non-UBC Email]<br>
> <br>
> Hi Roland,<br>
> <br>
> In the config file I attached, I do have this line included already:<br>
> <br>
> FPPFLAGS = -g -traditional<br>
> <br>
> Is there anything else I might try?<br>
> <br>
> Best,<br>
> Panayotis<br>
> ________________________________<br>
> From: Roland Haas <rhaas@phas.ubc.ca><br>
> Sent: Tuesday, September 2, 2025 5:08 PM<br>
> To: IOSIF PANAGIOTIS <PANAGIOTIS.IOSIF@units.it><br>
> Cc: Einstein Toolkit Users <users@einsteintoolkit.org><br>
> Subject: Re: [Users] ET build errors (Leonardo DCGP, CINECA cluster)<br>
> <br>
> Hello Panayotis,<br>
> <br>
> Thanks for including all the output files.<br>
> <br>
> In your options list whenever your set FPP you also must also set<br>
> FPPFLAGS:<br>
> <br>
> FPPFLAGS=-traditional<br>
> <br>
> See eg generic.cfg or (very new!) Bruno's leonardo-DCGP.cfg file (in<br>
> simfactory master).<br>
> <br>
> Yours,<br>
> Roland<br>
> <br>
> > [CAUTION: Non-UBC Email]<br>
> ><br>
> > Hi Einstein Toolkit users,<br>
> ><br>
> > I am reaching out regarding some errors I am encountering during my attempts to compile ET on the Leonardo, CINECA cluster (DCGP partition).<br>
> ><br>
> > Here are some details on the Leonardo cluster:<br>
> ><br>
> >   *<br>
> > cluster specifics: <a href="https://docs.hpc.cineca.it/hpc/leonardo.html#leonardo-card">
https://docs.hpc.cineca.it/hpc/leonardo.html#leonardo-card</a><br>
> >   *<br>
> > OS: Red Hat Enterprise Linux 8.7<br>
> ><br>
> > I attach the 4 configuration files I am using (with many added comments for guidance and future reference).<br>
> > I adapted them from the respective config files that Bruno Giacomazzo kindly provided.<br>
> ><br>
> > I also attach the make.log output of the command:<br>
> ><br>
> > ./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<br>
> ><br>
> > From what I understand, the build process complains about syntax errors in the Exact thorn in these two source files:<br>
> ><br>
> >   *<br>
> > decode_pars.F<br>
> >   *<br>
> > Boost_rotation_symmetric.F<br>
> ><br>
> > How can I bypass the above problems?<br>
> ><br>
> > To be honest, I am not sure that I really need this thorn.<br>
> > I was simply trying to compile ET using the default thornlist from a fresh download/installation.<br>
> ><br>
> > Is there any other error that the log file is pointing out that I might be missing?<br>
> ><br>
> > Best regards,<br>
> > Panayotis<br>
> ><br>
> ><br>
> > -------------------<br>
> > Panagiotis Iosif<br>
> > postdoctoral researcher<br>
> > Department of Physics, University of Trieste<br>
> > Via Alfonso Valerio 2, Trieste 34127<br>
> > Italy<br>
> > -------------------<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">http://pgp.mit.edu</a> .<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">http://pgp.mit.edu</a> .<br>
</div>
</span></font></div>
</body>
</html>