[GRASS-dev] compilation of grass on AIX 7.1

Markus Neteler neteler at osgeo.org
Thu Aug 22 15:32:11 PDT 2013


Hi,

I am now trying to run GRASS 7 with IBM's LoadLeveler. While I got the
job definition done, I struggle with a single library which isn't
found.
I tried both with GRASS compiled with shared libraries and as static
binaries (see below):

-bash-3.2$ llsubmit launch_IBM_LL_grassjob_rsun.sh
llsubmit: The job "f01c12p01-hf0.vs.savba.sk.9714" has been submitted.

-bash-3.2$ tail grassgis7_job.err
Could not load module libstdc++.a(libstdc++.so.6).
System error: No such file or directory
Could not load program g.version:
        Dependent module libstdc++.a(libstdc++.so.6) could not be loaded.
Could not load module libstdc++.a(libstdc++.so.6).
System error: No such file or directory
Could not load program g.mlist:
        Dependent module libstdc++.a(libstdc++.so.6) could not be loaded.
Could not load module libstdc++.a(libstdc++.so.6).
System error: No such file or directory

Here some debug output:

-bash-3.2$ cat grassgis7_job.out
************ Starting job at Fri Aug 23 00:24:47 CEST 2013 on node
f01c03p01-hf0 *************
Processing elevation (target mapset: solar) ...
-------------
PATH:
/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin:/gpfs/home/neteler/bin/bin:/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/bin:/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/scripts
-------------
LIBS in LD_LIBRARY_PATH:
/opt/freeware/lib:/gpfs/home/neteler/bin/lib/:/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/lib
-------------

-bash-3.2$ ls -la /opt/freeware/lib/libstdc++.a
lrwxrwxrwx    1 root     system           44 Jun 10 11:48
/opt/freeware/lib/libstdc++.a ->
gcc/powerpc-ibm-aix7.1.0.0/4.6.1/libstdc++.a

-bash-3.2$ ls -la /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.1/libstdc++.a
-rwxr-xr-x    1 root     system     11163967 Jul 21 2011
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.1/libstdc++.a


I don't understand how to convince the system in LoadLeveler mode that
libstdc++.a is available.
(the binaries run fine from interactive command line).

?

Markus


More information about the grass-dev mailing list