<div dir="ltr"><div><div>Hello,<br><br>I recently got ET working on my personal computer (virtual machine
with ubuntu using the default ubuntu .cfg file), but I am having issues
compiling the code on a local computer cluster using a custom .cfg file
based off of the ubuntu .cfg (see end of email). However, when I attempt to compile the
code on the cluster, it gets to the point where it begins building the
executable, but then it prints out an error as seen below.<br><br><div><div><div>**Start Code<br>Creating cactus_sim in /n/a3/srosofsky/Cactus/exe from [list of files]<br><br></div><div>/n/a3/srosofsky/Cactus/configs/sim/scratch/external/hwloc/lib/libhwloc.a(topolog\<br>y-linux.o): In function `hwloc_linux_set_area_membind':<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/build/hwloc/hwloc-1.10.1/src/topology\<br>-linux.c:1224: undefined reference to `mbind'<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/build/hwloc/hwloc-1.10.1/src/topology\<br>-linux.c:1243: undefined reference to `mbind'<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/external/hwloc/lib/libhwloc.a(topolog\<br>y-linux.o): In function `hwloc_linux_find_kernel_max_numnodes':<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/build/hwloc/hwloc-1.10.1/src/topology\<br>-linux.c:1347: undefined reference to `get_mempolicy'<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/external/hwloc/lib/libhwloc.a(topolog\<br>y-linux.o): In function `hwloc_linux_get_area_membind':<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/build/hwloc/hwloc-1.10.1/src/topology\<br>-linux.c:1445: undefined reference to `get_mempolicy'<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/external/hwloc/lib/libhwloc.a(topolog\<br>y-linux.o): In function `hwloc_linux_get_thisthread_membind':<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/build/hwloc/hwloc-1.10.1/src/topology\<br>-linux.c:1392: undefined reference to `get_mempolicy'<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/external/hwloc/lib/libhwloc.a(topolog\<br>y-linux.o): In function `hwloc_linux_set_thisthread_membind':<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/build/hwloc/hwloc-1.10.1/src/topology\<br>-linux.c:1291: undefined reference to `set_mempolicy'<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/build/hwloc/hwloc-1.10.1/src/topology\<br>-linux.c:1302: undefined reference to `migrate_pages'<br>/n/a3/srosofsky/Cactus/configs/sim/scratch/build/hwloc/hwloc-1.10.1/src/topology\<br>-linux.c:1314: undefined reference to `set_mempolicy'<br>collect2: ld returned 1 exit status<br>make[1]: *** [/n/a3/srosofsky/Cactus/exe/cactus_sim] Error 1<br>make: *** [sim] Error 2<br></div><div>**End code<br></div><div><br></div><div><br></div></div></div><div>The
above error occurs when the MPI_DIR in the .cfg file is set to
/usr/lib64/openmpi/. I should note that when I change MPI_DIR to BUILD I
get a different error message, but still at the same point in the
compilation process.<br><br><br></div><span><div>**Start Code<br><br>Creating cactus_sim in /n/a3/srosofsky/Cactus/exe from [file list]<br><br>/usr/bin/ld: cannot find -lmpi_usempif08<br>collect2: ld returned 1 exit status<br>make[1]: *** [/n/a3/srosofsky/Cactus/exe/cactus_sim] Error 1<br>make: *** [sim] Error 2<br><br></div><div>**End Code<br></div><div><br></div></span><div>Also,
I looked at tickets 1717 and 1764 for possible overlap on this issue,
but I had difficulty following how the issues in said tickets were
resolved. Furthermore, the libnuma-dev and libltdl-dev libraries were
installed but the problem still persists. I should note that I am
currently using ET version
ET_2015_11. <br><br></div><div>Any suggestions would be greatly appreciated.<br><br></div><div>Best,<br></div><div>Shawn<br></div><div><br></div><div><br></div><div>Here is the configuration file that I used.<br><br></div><div>**Start Code <br></div><div> <br><span><br>#MPI_DIR=BUILD <br>MPI_DIR = /usr/lib64/openmpi/<br><br>PTHREADS_DIR = NO_BUILD<br><br>HDF5_DIR = BUILD<br><br>HWLOC_DIR = BUILD<br><br>HWLOC_EXTRA_LIBS = hwloc<br><br></span></div>**End Code<br></div></div><div><div><br clear="all"><br><br></div></div></div>