Compiling 6.5. Erorr

From NWChem

You are viewing a single post from the thread title above
Jump to: navigation, search

Click here for full thread
Clicked A Few Times
Threads 6
Posts 29
Im use OpenSuse
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
'Yes, Im install OpenBlas, I think ( Sorry, Im new user in Linux)
last outputs installing openblas'
cblas_zher2 PASSED THE COMPUTATIONAL TESTS ( 577 CALLS)
cblas_zher2 PASSED THE COMPUTATIONAL TESTS ( 577 CALLS)
cblas_zhpr2 PASSED THE TESTS OF ERROR-EXITS
cblas_zhpr2 PASSED THE COMPUTATIONAL TESTS ( 577 CALLS)
cblas_zhpr2 PASSED THE COMPUTATIONAL TESTS ( 577 CALLS)

END OF TESTS
make[1]: Leaving directory `/MD/azat/xianyi-OpenBLAS-d0c51c4/ctest'
make[1]: Entering directory `/MD/azat/xianyi-OpenBLAS-d0c51c4/exports'
gcc -O2 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -shared -o ../libopenblas_core2p-r0.2.14.so \
-Wl,--whole-archive ../libopenblas_core2p-r0.2.14.a -Wl,--no-whole-archive \
-Wl,-soname,libopenblas.so.0 -lm -lpthread -lgfortran -lm -lpthread -lgfortran
gcc -O2 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -w -o linktest linktest.c ../libopenblas_core2p-r0.2.14.so -L/usr/lib64/gcc/x86_64-suse-linux/4.8 -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../.. -lgfortran -lm -lquadmath -lm -lc && echo OK.
OK.
rm -f linktest
make[1]: Leaving directory `/MD/azat/xianyi-OpenBLAS-d0c51c4/exports'

OpenBLAS build complete. (BLAS CBLAS LAPACK LAPACKE)

OS ... Linux
Architecture ... x86_64
BINARY ... 64bit
C compiler ... GCC (command line : gcc)
Fortran compiler ... GFORTRAN (command line : gfortran)
Library Name ... libopenblas_core2p-r0.2.14.a (Multi threaded; Max num-threads is 4)

To install the library, you can run "make PREFIX=/path/to/your/installation install".

 linux432:/MD/azat/xianyi-OpenBLAS-d0c51c4 # make install PREFIX=/MD/azat/Openblas
make -j 4 -f Makefile.install install
make[1]: Entering directory `/MD/azat/xianyi-OpenBLAS-d0c51c4'
Generating openblas_config.h in /MD/azat/Openblas/include
Generating f77blas.h in /MD/azat/Openblas/include
Generating cblas.h in /MD/azat/Openblas/include
Copying LAPACKE header files to /MD/azat/Openblas/include
Copying the static library to /MD/azat/Openblas/lib
Copying the shared library to /MD/azat/Openblas/lib
Generating OpenBLASConfig.cmake in /MD/azat/Openblas/lib/cmake/openblas
Install OK!
make[1]: Leaving directory `/MD/azat/xianyi-OpenBLAS-d0c51c4'
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
linux432:/MD/azat/xianyi-OpenBLAS-d0c51c4 # ls -l /MD/azat/Openblas/lib
total 36808
drwxr-xr-x 3 root root 4096 Oct 5 16:27 cmake
lrwxrwxrwx 1 root root 28 Oct 5 18:25 libopenblas.a -> libopenblas_core2p-r0.2.14.a
-rw-r--r-- 1 root root 25233830 Oct 5 18:25 libopenblas_core2p-r0.2.14.a
-rwxr-xr-x 1 root root 12449355 Oct 5 18:25 libopenblas_core2p-r0.2.14.so
lrwxrwxrwx 1 root root 29 Oct 5 18:25 libopenblas.so -> libopenblas_core2p-r0.2.14.so
lrwxrwxrwx 1 root root 29 Oct 5 18:25 libopenblas.so.0 -> libopenblas_core2p-r0.2.14.so
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Installing with internal BLAS library

/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:804: undefined reference to `PyErr_SetString'
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:809: undefined reference to `PyErr_SetString'
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:814: undefined reference to `PyErr_SetString'
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o):/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:818: more undefined references to `PyErr_SetString' follow
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o): In function `initnwchem':
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:1725: undefined reference to `Py_InitModule4_64'
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:1726: undefined reference to `PyModule_GetDict'
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:1727: undefined reference to `PyErr_NewException'
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o): In function `nwwrap_integers':
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:68: undefined reference to `PyInt_FromLong'
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o): In function `nwwrap_doubles':
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:92: undefined reference to `PyFloat_FromDouble'
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o): In function `do_pgroup_ngroups':
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:1646: undefined reference to `Py_BuildValue'
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o): In function `do_pgroup_groupid':
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:1657: undefined reference to `Py_BuildValue'
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o): In function `do_ga_groupid':
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:1668: undefined reference to `Py_BuildValue'
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o): In function `do_pgroup_nnodes':
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:1621: undefined reference to `Py_BuildValue'
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o): In function `do_pgroup_nodeid':
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:1635: undefined reference to `Py_BuildValue'
/MD/azat/NWTRY/nwchem-6.6/lib/LINUX64/libnwpython.a(nwchem_wrap.o): In function `initnwchem':
/MD/azat/NWTRY/nwchem-6.6/src/python/nwchem_wrap.c:1728: undefined reference to `PyDict_SetItemString'
collect2: error: ld returned 1 exit status
make: *** [all] Error 1
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
Edited On 3:25:14 AM PDT - Tue, Oct 6th 2015 by KAZat


Who's here now Members 0 Guests 0 Bots/Crawler 0


AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC