[CIG-SHORT] Reg: Relax installation

Walter Landry wlandry at caltech.edu
Fri Jun 29 12:35:58 PDT 2012


Anil Earnest <earnest at cmmacs.ernet.in> wrote:
> 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?

Which example were you trying to run?  Maybe you are running out of
memory?  examples/tutorials/run1.sh takes more than a gigabyte of
memory.

> 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.

What kind of machine are you trying to build on?  Mac? Linux?

In any case, try setting the link flags to find GDAL.  If you
installed GDAL in /home/foo/gdal-bin, then you would use something
like

  export LINKFLAGS="-L/home/foo/gdal-bin/lib -lgdal"

Cheers,
Walter Landry


More information about the CIG-SHORT mailing list