<div dir="auto">Hi all, <div dir="auto">Thanks for the tip, I'll try it on Monday! (I just moved and I have no internet at the new apartment)!</div><div dir="auto"><br></div><div dir="auto">Bests,</div><div dir="auto">Andrea</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 Nov 2018 00:47, "Peter Diener" <<a href="mailto:diener@cct.lsu.edu">diener@cct.lsu.edu</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrea,<br>
<br>
Roland pointed out in a separate e-mail that in your optionlist, you set FPP = fpp. I didn't notice that earlier. It is very likely that setting<br>
FPP = cpp instead will fix your problem. This is used in all option files in simfactory.<br>
<br>
Cheers,<br>
<br>
Peter<br>
<br>
On Friday 2018-11-16 15:20, Peter Diener wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Fri, 16 Nov 2018 15:20:56<br>
From: Peter Diener <<a href="mailto:diener@cct.lsu.edu" target="_blank">diener@cct.lsu.edu</a>><br>
To: Roland Haas <<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>><div class="elided-text"><br>
Cc: Erik Schnetter <<a href="mailto:schnetter@protonmail.com" target="_blank">schnetter@protonmail.com</a>>,<br>
Andrea Endrizzi <<a href="mailto:aendrizzi7@gmail.com" target="_blank">aendrizzi7@gmail.com</a>>,<br>
Einstein Toolkit Users <<a href="mailto:users@einsteintoolkit.org" target="_blank">users@einsteintoolkit.org</a>><br>
Subject: Re: [Users] Summatiobyparts compilation failure on ARA cluster (latest<br>
ET release)<br>
<br>
hi Roland,<br>
<br>
FPPFLAGS=-traditional<br>
<br>
was included in the optionlist that Andrea attached to the e-mail.<br>
<br>
Cheers,<br>
<br>
Peter<br>
<br>
On Friday 2018-11-16 15:17, Roland Haas wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Fri, 16 Nov 2018 15:17:08<br>
From: Roland Haas <<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>><br>
To: Peter Diener <<a href="mailto:diener@cct.lsu.edu" target="_blank">diener@cct.lsu.edu</a>><br>
Cc: Erik Schnetter <<a href="mailto:schnetter@protonmail.com" target="_blank">schnetter@protonmail.com</a>>,<br>
Andrea Endrizzi <<a href="mailto:aendrizzi7@gmail.com" target="_blank">aendrizzi7@gmail.com</a>>,<br>
Einstein Toolkit Users <<a href="mailto:users@einsteintoolkit.org" target="_blank">users@einsteintoolkit.org</a>><br>
Subject: Re: [Users] Summatiobyparts compilation failure on ARA cluster (latest<br>
ET release)<br>
<br>
Hello all,<br>
<br>
this is just a blind guess but I have seen various strange Fortan<br>
compiler errors if one forgets to include "-traditional" in the FPPFLAGS<br>
options in the option list.<br>
<br>
If you do not set FPPFLAGS at all then you should be good since the<br>
default includes it, however if you eg have<br>
<br>
FPPFLAGS=-DFOO<br>
<br>
then you have to change it to be<br>
<br>
FPPFLAGS=-DFOO -traditional<br>
<br>
Yours,<br>
Roland<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Andrea,<br>
<br>
The error message points to line 11 in the source file, which is the<br>
line that contains<br>
<br>
DECLARE_CCTK_FUNCTIONS<br>
<br>
This is expanded by a C-preprocessor before being handed of to the<br>
compiler.<br>
<br>
The preprocessed file can be found in the directory:<br>
<br>
/home/wa65fop/CS_Wu/THC_ZM1/Ca<wbr>ctus/configs/<your config name>/build/SummationByParts<br>
<br>
and is named Derivatives_2_1.f90.<br>
<br>
It seems like the C-preprocessor is not expanding<br>
"DECLARE_CCTK_FUNCTIONS" correctly and that the preprocessed file<br>
contains a line like:<br>
<br>
end interface & interface<br>
<br>
which is clearly not valid fortran. Can you check your preprocessed file<br>
and verify that this is indeed present?<br>
<br>
I don't see anything obviously wrong with your preprocessor flags, but<br>
why is there a<br>
-I/opt/intel/compilers_and_lib<wbr>raries_2018.0.128/linux/mpi/<wbr>intel64/include<br>
in your CPPFLAGS in you options file?<br>
<br>
Cheers,<br>
<br>
Peter<br>
<br>
On Friday 2018-11-16 11:08, Erik Schnetter wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Fri, 16 Nov 2018 11:08:48<br>
From: Erik Schnetter <<a href="mailto:schnetter@protonmail.com" target="_blank">schnetter@protonmail.com</a>><br>
To: Andrea Endrizzi <<a href="mailto:aendrizzi7@gmail.com" target="_blank">aendrizzi7@gmail.com</a>><br>
Cc: Einstein Toolkit Users <<a href="mailto:users@einsteintoolkit.org" target="_blank">users@einsteintoolkit.org</a>><br>
Subject: Re: [Users] Summatiobyparts compilation failure on ARA cluster (latest<br>
ET release)<br>
<br>
Andrea<br>
<br>
The error message quotes a line that is not and should not be present<br>
in the source code. I wonder whether maybe your source file has<br>
somehow become corrupted?<br>
<br>
Can you attach the file<br>
/home/wa65fop/CS_Wu/THC_ZM1/Ca<wbr>ctus/arrangements/CactusNumeri<wbr>cal/SummationByParts/src/Deriv<wbr>atives_2_1.F90<br>
from your source tree, as well as the preprecessed file<br>
/home/wa65fop/CS_Wu/THC_ZM1/Ca<wbr>ctus/configs/whiskyTHC_ZM1/bui<wbr>ld/SummationByParts/Derivative<wbr>s_2_1.f90?<br>
<br>
-erik<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Nov 16, 2018, at 1:51 , Andrea Endrizzi <<a href="mailto:aendrizzi7@gmail.com" target="_blank">aendrizzi7@gmail.com</a>> wrote:<br>
<br>
Good morning,<br>
I was trying to compile ET on ARA cluster, specifically with the<br>
latest intel compilers (2018, Update 3). All the C/C++ code compiled<br>
nicely, but when reaching the SummationByParts thorn, the file<br>
Derivatives_2_1.F90 failed (attached is a .txt of the error). I never<br>
saw this kind of error before when compiling previous versions of ET,<br>
but it seems to complain about syntax in a file that looked ok when I<br>
opened the source. Could it be related to the compiler/the compiler's<br>
flags I'm using? If that may be the case, I also attach the .cfg file<br>
I'm using (architecture of the nodes is Skylake). I am currently<br>
trying to build with a previous version, to check whether it is<br>
version-related or just a problem on my side.<br>
<br>
Thanks already for your attention!<br>
<br>
Best regards,<br>
<br>
Andrea Endrizzi<br>
<error_report_summationbyparts<wbr>.txt><ara-skl-icc_v0.1.cfg><br>
</blockquote>
<br>
--<br>
Erik Schnetter <<a href="mailto:schnetter@protonmail.com" target="_blank">schnetter@protonmail.com</a>><br>
<a href="http://www.perimeterinstitute.ca/personal/eschnetter/" rel="noreferrer" target="_blank">http://www.perimeterinstitute.<wbr>ca/personal/eschnetter/</a><br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@einsteintoolkit.org" target="_blank">Users@einsteintoolkit.org</a><br>
<a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.einsteintoolkit.o<wbr>rg/mailman/listinfo/users</a><br>
</blockquote>
<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://keys.gnupg.net" rel="noreferrer" target="_blank">http://keys.gnupg.net</a>.<br>
<br>
</blockquote>
<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br></div>