[CIG-SHORT] Reg: Relax installation

Anil Earnest earnest at cmmacs.ernet.in
Fri Jun 29 04:23:25 PDT 2012


Hi,
	I was trying to run Relax in a Linux machine. 

1) When I use the standalone pre-compiled binaries to run the examples,
I get:

348  0.00E+0 -1.82E+2 -1.94E+2  4.45E+1 2.50E+1 2.00E+1  201.0   9.0
139.0
349  0.00E+0 -2.05E+2 -2.03E+2  4.45E+1 2.50E+1 2.00E+1  201.0   9.0
41.0
350  0.00E+0 -2.29E+2 -2.13E+2  4.45E+1 2.50E+1 2.00E+1  201.0   9.0
48.0
----------------------------------------------------------------------------
number of coseismic tensile segments
    0
number of coseismic dilatation point sources
    0
number of surface loads
    0
max sampling size (hor.,vert.): 1.00E+1 8.00E+0
----------------------------------------------------------------------------
STOP could not allocate memory
0.04user 0.00system 0:00.05elapsed 96%CPU (0avgtext+0avgdata
4784maxresident)k
0inputs+736outputs (0major+356minor)pagefaults 0swaps

>>

The "STOP could not allocate memory" message is indicative of any issues
related with the run?


2) I prefer to compile the source than the above technique. Did allied
installations of GMT with GDAL Dev libs, gfortran, Proj etc etc. But the
build fails. Screen log is attached herewith.


Please help me out.


regards

- Anil Earnest

-------------- next part --------------
Waf: Entering directory `/home/earnest/progs/Relax-1_0_3/build'
[19/19] fcprogram: build/src/relax.f90.1.o build/src/types.f90.1.o build/src/ctfft.f.1.o build/src/fourier.f90.1.o build/src/green.f90.1.o build/src/okada/green_space.f90.1.o build/src/okada/dc3d.f.1.o build/src/elastic3d.f90.1.o build/src/friction3d.f90.1.o build/src/viscoelastic3d.f90.1.o build/src/writevtk.c.1.o build/src/writegrd4.2.c.1.o build/src/proj.c.1.o build/src/export.f90.1.o build/src/getdata.f.1.o build/src/getopt_m.f90.1.o build/src/input.f90.1.o build/src/mkl_dfti.f90.1.o -> build/relax
/usr/local/GMT4.5.7/lib/libgmt.a(gmt_customio.o): In function `ReportCorner':
gmt_customio.c:(.text+0x4651): undefined reference to `GDALGetGeoTransform'
gmt_customio.c:(.text+0x4694): undefined reference to `GDALGetProjectionRef'
gmt_customio.c:(.text+0x46a0): undefined reference to `GDALGetDatasetDriver'
gmt_customio.c:(.text+0x46a8): undefined reference to `GDALGetDriverShortName'
gmt_customio.c:(.text+0x470e): undefined reference to `OSRNewSpatialReference'
gmt_customio.c:(.text+0x4720): undefined reference to `OSRCloneGeogCS'
gmt_customio.c:(.text+0x4730): undefined reference to `CPLQuietErrorHandler'
gmt_customio.c:(.text+0x473c): undefined reference to `CPLPushErrorHandler'
gmt_customio.c:(.text+0x474c): undefined reference to `OCTNewCoordinateTransformation'
gmt_customio.c:(.text+0x4753): undefined reference to `CPLPopErrorHandler'
gmt_customio.c:(.text+0x475f): undefined reference to `OSRDestroySpatialReference'
gmt_customio.c:(.text+0x4767): undefined reference to `OSRDestroySpatialReference'
gmt_customio.c:(.text+0x4793): undefined reference to `OCTTransform'
gmt_customio.c:(.text+0x47ac): undefined reference to `OCTDestroyCoordinateTransformation'
/usr/local/GMT4.5.7/lib/libgmt.a(gmt_customio.o): In function `record_geotransform':
gmt_customio.c:(.text+0x482b): undefined reference to `GDALGetGeoTransform'
gmt_customio.c:(.text+0x4886): undefined reference to `GDALReadWorldFile'
gmt_customio.c:(.text+0x48c8): undefined reference to `GDALReadWorldFile'
/usr/local/GMT4.5.7/lib/libgmt.a(gmt_customio.o): In function `populate_metadata':
gmt_customio.c:(.text+0x4961): undefined reference to `GDALOpen'
gmt_customio.c:(.text+0x4973): undefined reference to `GDALGetProjectionRef'
gmt_customio.c:(.text+0x498a): undefined reference to `GDALGetProjectionRef'
gmt_customio.c:(.text+0x499d): undefined reference to `OSRNewSpatialReference'
gmt_customio.c:(.text+0x49b6): undefined reference to `OSRImportFromWkt'
gmt_customio.c:(.text+0x49d8): undefined reference to `OSRImportFromWkt'
gmt_customio.c:(.text+0x49f2): undefined reference to `OSRDestroySpatialReference'
gmt_customio.c:(.text+0x4a1f): undefined reference to `GDALGetDatasetDriver'
gmt_customio.c:(.text+0x4a27): undefined reference to `GDALGetDriverShortName'
gmt_customio.c:(.text+0x4aaf): undefined reference to `GDALGetDatasetDriver'
gmt_customio.c:(.text+0x4ab9): undefined reference to `GDALGetDriverShortName'
gmt_customio.c:(.text+0x4ac7): undefined reference to `GDALGetDriverLongName'
gmt_customio.c:(.text+0x4b00): undefined reference to `GDALGetRasterCount'
gmt_customio.c:(.text+0x4b1a): undefined reference to `GDALGetRasterBand'
gmt_customio.c:(.text+0x4b32): undefined reference to `GDALGetRasterColorInterpretation'
gmt_customio.c:(.text+0x4b3a): undefined reference to `GDALGetColorInterpretationName'
gmt_customio.c:(.text+0x4b57): undefined reference to `GDALGetRasterNoDataValue'
gmt_customio.c:(.text+0x4b78): undefined reference to `GDALGetRasterColorInterpretation'
gmt_customio.c:(.text+0x4cde): undefined reference to `GDALClose'
gmt_customio.c:(.text+0x4cf4): undefined reference to `GDALGetDatasetDriver'
gmt_customio.c:(.text+0x4cfe): undefined reference to `GDALGetDriverShortName'
gmt_customio.c:(.text+0x4d0c): undefined reference to `GDALGetDriverLongName'
gmt_customio.c:(.text+0x4d2c): undefined reference to `GDALGetRasterXSize'
gmt_customio.c:(.text+0x4d36): undefined reference to `GDALGetRasterYSize'
gmt_customio.c:(.text+0x4d4f): undefined reference to `OSRExportToProj4'
gmt_customio.c:(.text+0x4d6c): undefined reference to `OSRImportFromWkt'
gmt_customio.c:(.text+0x4d9a): undefined reference to `OSRExportToPrettyWkt'
gmt_customio.c:(.text+0x4daf): undefined reference to `VSIFree'
gmt_customio.c:(.text+0x4e23): undefined reference to `GDALGetRasterYSize'
gmt_customio.c:(.text+0x4ebb): undefined reference to `GDALGetRasterXSize'
gmt_customio.c:(.text+0x4f14): undefined reference to `GDALGetRasterYSize'
gmt_customio.c:(.text+0x4f20): undefined reference to `GDALGetRasterXSize'
gmt_customio.c:(.text+0x5034): undefined reference to `GDALGetDatasetDriver'
gmt_customio.c:(.text+0x503e): undefined reference to `GDALGetDriverShortName'
gmt_customio.c:(.text+0x504c): undefined reference to `GDALGetDriverLongName'
gmt_customio.c:(.text+0x5081): undefined reference to `GDALComputeRasterMinMax'
gmt_customio.c:(.text+0x51a3): undefined reference to `GDALGetRasterXSize'
gmt_customio.c:(.text+0x5204): undefined reference to `GDALGetRasterYSize'
gmt_customio.c:(.text+0x5240): undefined reference to `GDALGetRasterColorTable'
gmt_customio.c:(.text+0x5254): undefined reference to `GDALGetColorEntryCount'
gmt_customio.c:(.text+0x52c7): undefined reference to `GDALGetColorEntryAsRGB'
gmt_customio.c:(.text+0x5348): undefined reference to `GDALGetRasterYSize'
gmt_customio.c:(.text+0x5352): undefined reference to `GDALGetRasterXSize'
gmt_customio.c:(.text+0x53e6): undefined reference to `GDALClose'
gmt_customio.c:(.text+0x53eb): undefined reference to `GDALDestroyDriverManager'
/usr/local/GMT4.5.7/lib/libgmt.a(gmt_customio.o): In function `ComputeRasterMinMax':
gmt_customio.c:(.text+0x5484): undefined reference to `GDALGetRasterNoDataValue'
gmt_customio.c:(.text+0x5494): undefined reference to `GDALGetRasterDataType'
/usr/local/GMT4.5.7/lib/libgmt.a(gmt_customio.o): In function `GMT_gdalread':
gmt_customio.c:(.text+0x5b7d): undefined reference to `GDALAllRegister'
gmt_customio.c:(.text+0x5bd2): undefined reference to `GDALOpen'
gmt_customio.c:(.text+0x5bf6): undefined reference to `GDALGetDatasetDriver'
gmt_customio.c:(.text+0x5bfe): undefined reference to `GDALGetDriverShortName'
gmt_customio.c:(.text+0x5c59): undefined reference to `GDALGetGeoTransform'
gmt_customio.c:(.text+0x5d52): undefined reference to `GDALGetRasterXSize'
gmt_customio.c:(.text+0x5d75): undefined reference to `GDALGetRasterYSize'
gmt_customio.c:(.text+0x5efb): undefined reference to `OSRNewSpatialReference'
gmt_customio.c:(.text+0x5f0f): undefined reference to `OSRImportFromProj4'
gmt_customio.c:(.text+0x5f55): undefined reference to `OSRDestroySpatialReference'
gmt_customio.c:(.text+0x5f98): undefined reference to `GDALGetRasterXSize'
gmt_customio.c:(.text+0x5fab): undefined reference to `GDALGetRasterYSize'
gmt_customio.c:(.text+0x5fdc): undefined reference to `GDALGetRasterBand'
gmt_customio.c:(.text+0x5fe6): undefined reference to `GDALGetRasterDataType'
gmt_customio.c:(.text+0x5fee): undefined reference to `GDALGetDataTypeSize'
gmt_customio.c:(.text+0x6031): undefined reference to `GDALGetRasterCount'
gmt_customio.c:(.text+0x609a): undefined reference to `GDALGetRasterDataType'
/usr/local/GMT4.5.7/lib/libgmt.a(gmt_customio.o): In function `.L826':
gmt_customio.c:(.text+0x61a9): undefined reference to `GDALGetRasterBand'
gmt_customio.c:(.text+0x61b3): undefined reference to `GDALGetRasterDataType'
gmt_customio.c:(.text+0x621b): undefined reference to `GDALRasterIO'
gmt_customio.c:(.text+0x622e): undefined reference to `GDALGetRasterNoDataValue'
gmt_customio.c:(.text+0x6270): undefined reference to `GDALGetRasterDataType'
/usr/local/GMT4.5.7/lib/libgmt.a(gmt_customio.o): In function `.L845':
gmt_customio.c:(.text+0x6390): undefined reference to `GDALClose'
/usr/local/GMT4.5.7/lib/libgmt.a(gmt_customio.o): In function `.L846':
gmt_customio.c:(.text+0x690f): undefined reference to `OSRExportToPrettyWkt'
/usr/local/GMT4.5.7/lib/libgmt.a(gmt_customio.o): In function `.L827':
gmt_customio.c:(.text+0x6b12): undefined reference to `GDALGetRasterBand'
gmt_customio.c:(.text+0x6e07): undefined reference to `GDALGetRasterXSize'
gmt_customio.c:(.text+0x6e29): undefined reference to `GDALGetRasterYSize'
gmt_customio.c:(.text+0x6e93): undefined reference to `GDALClose'
gmt_customio.c:(.text+0x6e98): undefined reference to `GDALDestroyDriverManager'
gmt_customio.c:(.text+0x6eb1): undefined reference to `GDALGetRasterYSize'
gmt_customio.c:(.text+0x6ec2): undefined reference to `GDALGetRasterXSize'
gmt_customio.c:(.text+0x6f2f): undefined reference to `CPLGetLastErrorMsg'
collect2: ld returned 1 exit status
Waf: Leaving directory `/home/earnest/progs/Relax-1_0_3/build'
Build failed
 -> task in 'relax' failed (exit status 1): 
	{task 167614220: fcprogram relax.f90.1.o,types.f90.1.o,ctfft.f.1.o,fourier.f90.1.o,green.f90.1.o,green_space.f90.1.o,dc3d.f.1.o,elastic3d.f90.1.o,friction3d.f90.1.o,viscoelastic3d.f90.1.o,writevtk.c.1.o,writegrd4.2.c.1.o,proj.c.1.o,export.f90.1.o,getdata.f.1.o,getopt_m.f90.1.o,input.f90.1.o,mkl_dfti.f90.1.o -> relax}
['/usr/bin/gfortran', '-fopenmp', 'src/relax.f90.1.o', 'src/types.f90.1.o', 'src/ctfft.f.1.o', 'src/fourier.f90.1.o', 'src/green.f90.1.o', 'src/okada/green_space.f90.1.o', 'src/okada/dc3d.f.1.o', 'src/elastic3d.f90.1.o', 'src/friction3d.f90.1.o', 'src/viscoelastic3d.f90.1.o', 'src/writevtk.c.1.o', 'src/writegrd4.2.c.1.o', 'src/proj.c.1.o', 'src/export.f90.1.o', 'src/getdata.f.1.o', 'src/getopt_m.f90.1.o', 'src/input.f90.1.o', 'src/mkl_dfti.f90.1.o', '-o', '/home/earnest/progs/Relax-1_0_3/build/relax', '-Wl,-rpath,/usr/local/GMT4.5.7/lib', '-Wl,-rpath,None', '-Wl,-rpath,None', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/GMT4.5.7/lib', '-LNone', '-LNone', '-lgmt', '-lnetcdf', '-lproj', '-lfftw3f', '-lfftw3f_threads']



More information about the CIG-SHORT mailing list