undefined symbol: __pgi_abort_init

I use long arrays (over 3GB) in my fortran code,
so I did “pgf77 trace10-hjk1010.f -o trace10-hjk1010.out -mcmodel=medium”

The code works okay on the head node,
but when I submit the job on the supercomputer, I got the following error.

./trace10-hjk1010.out: error while loading shared libraries: ./trace10-hjk1010.out: undefined symbol: __pgi_abort_init

My $LD_LIBRARY_PATH is set at /usr/pgi/linux86-64/5.2/lib and /usr/pgi/linux86-64/5.2/libso

Please help me to run this code.

Hi corona0,

My guess is that you’ve compiled with a later version of the compilers (see ‘pgf77 -V’ for version information). In this case, you’ll need to set your LD_LIBRARY_PATH to the same version that you used to compile.

  • Mat

It works!
Thank you so much, Mat.