Error compiling mov2asc in opensuse

From NWChem

Viewed 274 times, With a total of 1 Posts
Jump to: navigation, search

Just Got Here
Threads 1
Posts 1
Hi all,

I'm trying to compile mov2asc program in opensuse but i don't know how to make it works.

here is the compile script, the variables are the same as i used to compile nwchem6.6:

  1. !/bin/bash
export LARGE_FILES=TRUE
export USE_NOFSCHECK=TRUE
export NWCHEM_TOP=/home/cerda/.soft/nwchem-6.6
export NWCHEM_TARGET=LINUX64
export USE_MPI=y #y for parallel, n for not parallel
export USE_MPIF=y
export USE_INTERNALBLAS=y
export MPI_LOC=/home/calbo/SOFTWARE/openmpi-1.10.1

export PYTHONVERSION=3.4
export PYTHONHOME=/usr
export FC=gfortran
export CC=gcc

cd $NWCHEM_TOP/contrib/mov2asc

make




and here is the error message:

gfortran -fdefault-integer-8 -I../../src/tools/install/include -o mov2asc mov2asc.o -L../../src/tools/install/lib -lga -larmci -L../.. /lib/LINUX64 -lnwcutil -L/home/calbo/SOFTWARE/openmpi-1.10.1/lib64 -lmpi_usempi -lmpi_mpifh -lmpi
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: no se puede encontrar -lga
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: no se puede encontrar -larmci
collect2: error: ld returned 1 exit status
Makefile:79: recipe for target 'mov2asc' failed
make: *** [mov2asc] Error 1



this lines also apeared in the compiling of nwchem:
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: no se puede encontrar -lga
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: no se puede encontrar -larmc

but was solved with a patch.

Thanks!
Edited On 1:57:34 PM PST - Fri, Dec 16th 2016 by Jecerca

Forum Vet
Threads 7
Posts 1336
Have you compiled the NWChem program under /home/cerda/.soft/nwchem-6.6 ?
The compilation of mov2asc relies on that.
In other words, do you have any directory under the tree
/home/cerda/.soft/nwchem-6.6/src/tools/install
?


Forum >> NWChem's corner >> Compiling NWChem



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


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