<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Hi,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">I am running into some problems building Cactus/Einstein Toolkit on our local HPC. The .ini file I am using looks okay to me. As far as I can tell, there seems to be an issue with PAPI?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">I've attached a copy of the error message. Does anyone have any insight into this? If you need to see any particular files (e.g. .ini or .cfg files) then just let me know which ones (including directory would be helpful!) and I'll post back asap. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Thanks in advance! Your time taken is very much appreciated!</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Regards</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Geraint</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">----------</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><br></div><i>Checking status of thorn CoordBase<br>...<br>Checking status of thorn PUGHInterp<br>Checking status of thorn PUGHReduce<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c: In function ‘PAPI_Cactus_outinfo’:<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:51:0: warning: ignoring #pragma omp master [-Wunknown-pragmas]<br> #pragma omp master<br> ^<br>/<br>m<br>nt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c: In function ‘PAPI_Cactus_chkerr’:<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:62:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas]<br> #pragma omp critical ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c: In function ‘PAPI_init’:<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:231:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]<br> #pragma omp parallel private(ierr)<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:262:0: warning: ignoring #pragma omp master [-Wunknown-pragmas]<br> #pragma omp master<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:267:7: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration]<br> char *const eventnames = strdup(eventset_eventnames[n]);<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:267:32: warning: initialization makes pointer from integer without a cast [enabled by default]<br> char *const eventnames = strdup(eventset_eventnames[n]);<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:270:7: warning: implicit declaration of function ‘strtok_r’ [-Wimplicit-function-declaration]<br> for (char *event_name = strtok_r(eventnames, sep, &lasts);<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:270:31: warning: initialization makes pointer from integer without a cast [enabled by default]<br> for (char *event_name = strtok_r(eventnames, sep, &lasts);<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:270:7: error: declaration of non-variable ‘strtok_r’ in ‘for’ loop initial declaration<br> for (char *event_name = strtok_r(eventnames, sep, &lasts);<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:272:23: warning: assignment makes pointer from integer without a cast [enabled by default]<br> event_name = strtok_r(NULL, sep, &lasts))<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:274:0: warning: ignoring #pragma omp master [-Wunknown-pragmas]<br> #pragma omp master<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:301:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]<br> #pragma omp parallel private(ierr)<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c: In function ‘output_stats’:<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:333:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]<br> #pragma omp parallel private(ierr)<br> ^<br>/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/build/PAPI/stats.c:351:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas]<br> #pragma omp critical(PAPI_output_stats_add)<br> ^<br>make[3]: *** [stats.c.o] Error 1<br>make[2]: *** [make.checked] Error 2<br>make[1]: *** [/mnt/pact/gp234/NR/Cactus/configs/apollo-login.cm.cluster.ini/lib/libthorn_PAPI.a] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br>make: *** [apollo-login.cm.cluster.ini] Error 2</i><br><div><br></div><div>-- <br><div class="gmail_signature"><div dir="ltr">Geraint Pratten<br><br>Mobile: +44(0) 7581709282<br>E-mail: <a href="mailto:G.Pratten@sussex.ac.uk" target="_blank">G.Pratten@sussex.ac.uk</a><br>Skype: geraint.pratten<br><br>Astronomy Centre<br>Pevensey 3 Building<br>University of Sussex<br>Falmer Campus<br>Brighton<div>BN1 9QH<br>United Kingdom<br></div></div></div>
</div></div>