After ATK-12.2.0 has been installed on a cluster, the following error appears. The script is a very minimum one. It contains just
print "Test"(Which is printed. Any additional ATK-code throws exceptions.)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "./zipdir/NL/__init__.py", line 4, in <module>
File "./zipdir/NLEngine.py", line 35, in <module>
File "./zipdir/NLEngine.py", line 17, in swig_import_helper
ImportError: libpng12.so.0: cannot open shared object file: No such file or directory
Test
Before that, version 11.2.3 worked fine. I'm not aware of any changes on that cluster. ATK was not installed by myself but by some Admin. I do not have root access. I read the QuantumWise FAQ: The "missing library" is not missing on that cluster, I found it in
/usr/lib/I can however start an atkpython-shell (tested on the headnode). This works and I can run serious calculation from inside that shell. The error appears when I submit the job via qsub. (No matter how many nodes or mpi-jobs.)
We are using a PBS job scheduling system here, together with mvapich2.
The command "mpich2version" gives:
MPICH2 Version: 1.8a1
MPICH2 Release date: Mon Nov 14 18:25:45 EST 2011
MPICH2 Device: ch3:mrail
MPICH2 configure: --prefix=/lustrefs/mpi/gcc-4.6.2/mvapich2-1.8a1p1 --with-rdma=gen2 --with-ib-include=/usr/local/ofed/include --with-ib-libpath=/usr/local/ofed/lib64 --enable-romio --with-file-system=lustre --enable-shared --enable-g=dbg --enable-debuginfo --enable-totalview --without-mpe
MPICH2 CC: gcc -g -DNDEBUG -DNVALGRIND -O2
MPICH2 CXX: c++ -g -DNDEBUG -DNVALGRIND -O2
MPICH2 F77: gfortran -g -O2 -L/usr/local/ofed/lib64
MPICH2 FC: gfortran -g -O2
Any suggestions?
(I can send you my PBS-script if neccessary, but as I said, it worked with ATK-11.2.3.)
(And I will inform the cluster admin.)