<div dir="ltr">Having trouble getting a dynamically linked executable working on Mira/Cetus head nodes.  The executable _is_ working if I submit it to the queue.<div><br></div><div>Compiling a static executable works both on the head node and on the compute nodes.</div><div><br></div><div>Is there some special environment sauce I need that will enable me to run these executables on the head node?  Obviously I don't want to run much on the head node... but not even being able to test the executables without a trip through the queue is problematic!  For instance... "configure" scripts kind of rely on being able to compile/run simple test programs!<br><div><div><br></div><div>My .soft is:</div><div><br></div><div><div>+mpiwrapper-bgclang-mpi3.legacy.ndebug</div><div>@default<br></div></div><div><br></div><div>(Note: I have also tried essentially all the other bgclang options and they all produce the same error).</div><div><br></div><div><br></div><div>I'm trying to compile a test.c:</div><div><br></div><div><div>int main() </div><div>{</div><div>  return 0;</div><div>}</div></div><div><br></div><div>My compile line is:</div><div><br></div><div>mpicc -o test -dynamic test.c<br></div><div><br></div><div><br></div><div>The error I'm seeing is:</div><div><br></div><div><div>$ ./test</div><div>ERROR: ld.so: object '/soft/buildtools/trackdeps/${LIB}/trackdeps.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div>/bgsys/source/srcV1R2M2.15270/comm/sys/buildtools/pami/common/bgq/BgqPersonality.h:102: </div><div>/bgsys/source/srcV1R2M2.15270/comm/sys/buildtools/pami/common/bgq/BgqPersonality.h<102></div><div>Aborted (core dumped)</div></div><div><br></div><div><br></div><div>Getting a stack trace out of the core file gives:</div><div><br></div><div><div>(gdb) bt</div><div>#0  0x00000fff837fec40 in raise (sig=Unhandled dwarf expression opcode 0xf3</div><div>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56</div><div>#1  0x00000fff838008b8 in abort () at abort.c:90</div><div>#2  0x00000fff841a12b8 in PAMI::BgqJobPersonality::BgqJobPersonality (this=<value optimized out>) at /bgsys/source/srcV1R2M2.15270/comm/sys/buildtools/pami/common/bgq/BgqPersonality.h:102</div><div>#3  0x00000fff841aeff4 in PAMI::Global::Global (this=0xfff84316848) at /bgsys/source/srcV1R2M2.15270/comm/sys/buildtools/pami/common/bgq/Global.h:110</div><div>#4  0x00000fff8419fa1c in __static_initialization_and_destruction_0 () at /bgsys/source/srcV1R2M2.15270/comm/sys/buildtools/pami/common/bgq/BgqGlobal.cc:25</div><div>#5  global constructors keyed to BgqGlobal.cc(void) () at /bgsys/source/srcV1R2M2.15270/comm/sys/buildtools/pami/common/bgq/BgqGlobal.cc:70</div><div>#6  0x00000fff841d2b6c in .__do_global_ctors_aux () from /bgsys/drivers/V1R2M2/ppc64/comm/lib/libpami-gcc.so</div><div>#7  0x00000fff83f93cac in ._init () from /bgsys/drivers/V1R2M2/ppc64/comm/lib/libpami-gcc.so</div><div>#8  0x00000fff8492493c in call_init (l=0xfff84a17138, argc=Unhandled dwarf expression opcode 0xf3</div><div>) at dl-init.c:69</div><div>#9  call_init (l=0xfff84a17138, argc=Unhandled dwarf expression opcode 0xf3</div><div>) at dl-init.c:34</div><div>#10 0x00000fff84924acc in _dl_init (main_map=0xfff84a13610, argc=Unhandled dwarf expression opcode 0xf3</div><div>) at dl-init.c:133</div><div>#11 0x00000fff849140bc in ._dl_start_user () from /bgsys/drivers/V1R2M2/ppc64/gnu-linux-4.7.2/powerpc64-bgq-linux/lib/ld64.so.1</div></div><div><br></div><div><br></div><div>Thanks for any help!</div></div></div><div><br></div><div>Derek</div></div>