Message Boards

Back

Compiling in CentOS 6 with Intel Compilers

AM
Agustín Martina, modified 8 Days ago.

Compiling in CentOS 6 with Intel Compilers

Youngling Posts: 1 Join Date: 9/12/18 Recent Posts

Hi All, im having troubles compiling Delft3D
First, making

CFLAGS='-O2' CXXFLAGS='-O2' FFLAGS='-O2' FCFLAGS='-O2' ./configure --prefix=/home/jmuchiut/Delft3d --with-netcdf --with-mpi --with-metis --with-petsc

Didn't find metis.h, even with METIS_LIBS and METIS_CFLAGS defined. Cheking the log, i found that the -L and -I flag were missing on each call, so i fixed it defining METIS_LIBS and METIS_CFLAGS with each flag respectively.

Then, making ds-install, I have a linking problem

[jmuchiut@yaku src]$ make ds-install > ds-installl.log
Makefile:810: warning: overriding recipe for target `clean-local'
Makefile:805: warning: ignoring old recipe for target `clean-local'
Makefile:810: warning: overriding recipe for target `clean-local'
Makefile:805: warning: ignoring old recipe for target `clean-local'
Makefile:810: warning: overriding recipe for target `clean-local'
Makefile:805: warning: ignoring old recipe for target `clean-local'
libtool: warning: remember to run 'libtool --finish /home/jmuchiut/source/trunk/src/lib'
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
libtool: warning: relinking 'libODS.la'
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
libtool: warning: '../../../../../engines_gpl/dimr/packages/dimr_lib/src/libdimr.la' has not been installed in '/usr/local/lib'
libtool: warning: relinking 'libflow2d3d.la'
ld: cannot find -lDelftOnline
libtool:   error: error: relink 'libflow2d3d.la' with the above command before installing it
make[8]: *** [install-libLTLIBRARIES] Error 1
make[7]: *** [install-am] Error 2
make[6]: *** [install-recursive] Error 1
make[5]: *** [install] Error 2
make[4]: *** [install-recursive] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

Any thoughts?

attached are the logs

Thank you

 

Agu

 

linux intel compiler