compilation error -- Fatal Error: Can't open module file 'paramsconst.mod'

97 views
Skip to first unread message

Cheng Wei

unread,
Sep 15, 2014, 10:18:22 PM9/15/14
to xbe...@googlegroups.com
Hi all,

Thanks in advance who can help me resolve this error. I tried to Google this error but found nothing.

The error occurs when I try to 'make' ('./configure' was successful). The source code is downloaded from the xbeach svn repository today (https://svn.oss.deltares.nl/repos/xbeach/trunk/). I paste the entire output from 'make' below:


> make
__________

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src
Making all in makeincludes
gfortran -DHAVE_CONFIG_H -I. -I../..     -g -O2 -ffree-form -ffree-line-length-none -c -o makeincludes.o makeincludes.F90
/bin/sh ../../libtool --tag=FC   --mode=link gfortran  -g -O2 -ffree-form -ffree-line-length-none   -o makeincludes makeincludes.o  
libtool: link: gfortran -g -O2 -ffree-form -ffree-line-length-none -o makeincludes makeincludes.o 
Making all in xbeachlibrary
echo spacedecl.gen | ./../makeincludes/makeincludes
 Making spacedecl.gen
echo mnemonic.gen | ./../makeincludes/makeincludes
 Making mnemonic.gen
echo indextos.gen | ./../makeincludes/makeincludes
 Making indextos.gen
echo space_alloc_scalars.gen | ./../makeincludes/makeincludes
 Making space_alloc_scalars.gen
echo space_alloc_arrays.gen | ./../makeincludes/makeincludes
 Making space_alloc_arrays.gen
echo space_ind.gen | ./../makeincludes/makeincludes
 Making space_ind.gen
echo space_inp.gen | ./../makeincludes/makeincludes
 Making space_inp.gen
echo chartoindex.gen | ./../makeincludes/makeincludes
 Making chartoindex.gen
echo "Build_Revision = '`svnversion`'" > version.dat
echo "Build_URL = '`svn info | grep ^URL`'" >> version.dat
echo "Build_Date = '`date`'" >> version.dat
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
/bin/sh ../../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H -I. -I../..    -I../..   -g -O2 -ffree-form -ffree-line-length-none -c -o libxbeach_la-xmpi.lo `test -f 'xmpi.F90' || echo './'`xmpi.F90
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -ffree-form -ffree-line-length-none -c xmpi.F90  -fno-common -o .libs/libxbeach_la-xmpi.o
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -ffree-form -ffree-line-length-none -c xmpi.F90 -o libxbeach_la-xmpi.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H -I. -I../..    -I../..   -g -O2 -ffree-form -ffree-line-length-none -c -o libxbeach_la-general_mpi.lo `test -f 'general_mpi.F90' || echo './'`general_mpi.F90
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -ffree-form -ffree-line-length-none -c general_mpi.F90  -fno-common -o .libs/libxbeach_la-general_mpi.o
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -ffree-form -ffree-line-length-none -c general_mpi.F90 -o libxbeach_la-general_mpi.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H -I. -I../..    -I../..   -g -O2 -ffree-form -ffree-line-length-none -c -o libxbeach_la-typesandkinds.lo `test -f 'typesandkinds.F90' || echo './'`typesandkinds.F90
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -ffree-form -ffree-line-length-none -c typesandkinds.F90  -fno-common -o .libs/libxbeach_la-typesandkinds.o
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -ffree-form -ffree-line-length-none -c typesandkinds.F90 -o libxbeach_la-typesandkinds.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H -I. -I../..    -I../..   -g -O2 -ffree-form -ffree-line-length-none -c -o libxbeach_la-logging.lo `test -f 'logging.F90' || echo './'`logging.F90
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -ffree-form -ffree-line-length-none -c logging.F90  -fno-common -o .libs/libxbeach_la-logging.o
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -ffree-form -ffree-line-length-none -c logging.F90 -o libxbeach_la-logging.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H -I. -I../..    -I../..   -g -O2 -ffree-form -ffree-line-length-none -c -o libxbeach_la-filefunctions.lo `test -f 'filefunctions.F90' || echo './'`filefunctions.F90
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I../.. -I../.. -g -O2 -ffree-form -ffree-line-length-none -c filefunctions.F90  -fno-common -o .libs/libxbeach_la-filefunctions.o
filefunctions.F90:3.6:

  use paramsconst
      1
Fatal Error: Can't open module file 'paramsconst.mod' for reading at (1): No such file or directory
make[4]: *** [libxbeach_la-filefunctions.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

__________

Note that I could compile this release version (2012-04-06_XBeach_v19_Easter) with no problem on my own computer. However, eventually I need to compile on a university supercomputer, and this requires administrator privileges, which I don't have there. So a workaround of this is also helpful to me.

Thanks!

Wei

Reply all
Reply to author
Forward
0 new messages