<div dir="ltr"><div>I am experiencing some issues compiling the ETK on BW.</div><div><br></div><div>The command I use is the standard command for simfactory, where I specify the machine as follows:</div><div><br></div><div>./simfactory/bin/sim build ETK_standard --mdbkey make &#39;make -j16&#39; --machine=bluewaters --thornlist=../<a href="http://einsteintoolkit.th">einsteintoolkit.th</a> | cat &gt;&amp; compilation_trial.out</div><div><br></div><div>The error on which I am actually stuck is the following:</div><div><br></div><div>COMPILING arrangements/Carpet/CarpetLib/src/interpolate_3d_2tl.cc<br>/mnt/a/u/sciteam/cipollet/Cactus/arrangements/Carpet/CarpetLib/src/interpolate_3d_2tl.cc:112:48: error: macro &quot;CCTK_LOOP3STROFF_NORMAL&quot; requires 24 arguments, but only 23 given<br>              dstipadext, dstjpadext, dstkpadext) {<br>                                                ^<br>In file included from /mnt/a/u/sciteam/cipollet/Cactus/src/include/cctk_core.h:157:0,<br>                 from /mnt/a/u/sciteam/cipollet/Cactus/configs/ETK_standard/bindings/include/CarpetLib/cctk.h:7,<br>                 from /mnt/a/u/sciteam/cipollet/Cactus/arrangements/Carpet/CarpetLib/src/interpolate_3d_2tl.cc:1:<br>/mnt/a/u/sciteam/cipollet/Cactus/arrangements/Carpet/CarpetLib/src/interpolate_3d_2tl.cc: In function &#39;void CarpetLib::interpolate_3d_2tl(const T*, CCTK_REAL8, const T*, CCTK_REAL8, const ivect3&amp;, const ivect3&amp;, T*, CCTK_REAL8, const ivect3&amp;, const ivect3&amp;, const ibbox3&amp;, const ibbox3&amp;, const ibbox3&amp;, const ibbox3&amp;, void*)&#39;:<br>/mnt/a/u/sciteam/cipollet/Cactus/src/include/cctk_Loop.h:2460:3: error: &#39;CCTK_LOOP3STROFF_NORMAL&#39; was not declared in this scope<br>   CCTK_LOOP3STROFF_NORMAL(name, \<br>   ^<br>/mnt/a/u/sciteam/cipollet/Cactus/src/include/cctk_Loop.h:2444:3: note: in expansion of macro &#39;CCTK_LOOP3STROFF&#39;<br>   CCTK_LOOP3STROFF(name, \<br>   ^<br>/mnt/a/u/sciteam/cipollet/Cactus/src/include/cctk_Loop.h:2428:3: note: in expansion of macro &#39;CCTK_LOOP3STR&#39;<br>   CCTK_LOOP3STR(name, \<br>   ^<br>/mnt/a/u/sciteam/cipollet/Cactus/arrangements/Carpet/CarpetLib/src/interpolate_3d_2tl.cc:111:3: note: in expansion of macro &#39;CCTK_LOOP3&#39;<br>   CCTK_LOOP3(interpolate_3d_2tl, i, j, k, 0, 0, 0, regiext, regjext, regkext,<br>   ^<br>In file included from /mnt/a/u/sciteam/cipollet/Cactus/configs/ETK_standard/bindings/include/loopcontrol.h:4:0,<br>                 from /mnt/a/u/sciteam/cipollet/Cactus/arrangements/Carpet/CarpetLib/src/interpolate_3d_2tl.cc:4:<br>/mnt/a/u/sciteam/cipollet/Cactus/arrangements/Carpet/CarpetLib/src/interpolate_3d_2tl.cc: At global scope:<br>/mnt/a/u/sciteam/cipollet/Cactus/arrangements/Carpet/LoopControl/src/loopcontrol.h:263:3: error: expected declaration before &#39;}&#39; token<br>   }                                                                            \<br>   ^<br>/mnt/a/u/sciteam/cipollet/Cactus/arrangements/Carpet/LoopControl/src/loopcontrol.h:304:42: note: in expansion of macro &#39;LC_ENDLOOP3STROFF_NORMAL&#39;<br> #define CCTK_ENDLOOP3STROFF_NORMAL(name) LC_ENDLOOP3STROFF_NORMAL(name)<br>                                          ^<br>/mnt/a/u/sciteam/cipollet/Cactus/src/include/cctk_Loop.h:2470:3: note: in expansion of macro &#39;CCTK_ENDLOOP3STROFF_NORMAL&#39;<br>   CCTK_ENDLOOP3STROFF_NORMAL(name) \<br>   ^<br>/mnt/a/u/sciteam/cipollet/Cactus/src/include/cctk_Loop.h:2452:3: note: in expansion of macro &#39;CCTK_ENDLOOP3STROFF&#39;<br>   CCTK_ENDLOOP3STROFF(name) \<br>   ^<br>/mnt/a/u/sciteam/cipollet/Cactus/src/include/cctk_Loop.h:2436:3: note: in expansion of macro &#39;CCTK_ENDLOOP3STR&#39;<br>   CCTK_ENDLOOP3STR(name) \<br>   ^<br>/mnt/a/u/sciteam/cipollet/Cactus/arrangements/Carpet/CarpetLib/src/interpolate_3d_2tl.cc:116:3: note: in expansion of macro &#39;CCTK_ENDLOOP3&#39;<br>   CCTK_ENDLOOP3(interpolate_3d_2tl);<br>   ^<br>make[3]: *** [interpolate_3d_2tl.cc.o] Error 1<br>make[2]: *** [make.checked] Error 2<br>make[1]: *** [/mnt/a/u/sciteam/cipollet/Cactus/configs/ETK_standard/lib/libthorn_CarpetLib.a] Error 2<br>make: *** [ETK_standard] Error 2</div><div><br></div><div>As you can see, the CarpetLib is not compiled, due to an error on a call to a macro of Cactus. As the CarpetLib is a pretty standard one, I assume that there should be some bugs in the machine configuration file in simfactory, probably when specifying the flags for the compilers. I also tried the other configuration for BW machine (i.e. the &quot;-cray&quot; and &quot;-pgi&quot; versions) when trying to compile another config of the ETK on BW, but neither those where succesful.</div><div><br></div><div>Can anyone give me some hint?</div><div><br></div><div>Thank you very much,</div><div>Federico Cipolletta.<br></div></div>