Error compiling mov2asc in opensuse


Click here for full thread
Just Got Here
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!