Dineof release

From GHER

Jump to: navigation, search

To compile DINEOF in static mode (to create stand-alone binary):

cp /usr/lib/liblapack.a ~/dineof/
cd ~/dineof
ar d liblapack.a xerbla.o

Then compile:

gfortran  -static -o dineof ReadMatrix.o ufileformat.o initfile.o stat.o norm.o dineof_utils.o smeanToZero.o smeanByRow.o svariExp.o ssvd_lancz.o valsvd.o dineof.o writeSVD.o writeMatrix.o  -L/usr/lib -larpack liblapack.a -lblas -L/usr/lib -lnetcdff -lnetcdf

And rename the binary:

mv dineof dineof-3.0-i683-linux

The command

make release

will create a tar zipped file with all files in the latest repository version. Check variable $(VERSION) in Makefile to establish the name of the tar file.

Personal tools