[RegCNET] Hi, everybody.

bixq bixq at ictp.it
Mon Oct 26 08:34:24 CET 2009


Hi, John Lee:

On Mon, 26 Oct 2009, John Lee wrote:

>  Hi, I am trying to run RegCM3, but having trouble in the beginning part of
> executing the terrain.x*.  I get the following message after running
> terrain.x* :
>
>        ./terrain.x: line 1: sentenv: command not found

The first line in terrain.x

#!/bin/csh -f

works with tcsh (and csh), you'd better install tcsh for your LINUX.
If you couldn't, replace it with

#!/bin/sh -f

>         rm -f *.o terrain
>         pgf77 -01 -bytewwapio -Ktrap=fp -L../../Commons/env/libinux/
> -lnetcdf -c -o terrain.o terrain.f

pgf77 ???

I think that it should be pgf90 for the latest version,
which Makefile you used.

>         terrain.f:
>         pgf77 -01 -byteswapio -Ktrap=fp -o terrain terrain.o
> -L../../Commons/env/libinux/ -lnetcdf
>         /usr/bin/ld: skipping incompatible
> ../../Commons/env/libinux//libnetcdf.a when searching for -lnetcdf
>         /usr/bin/ld: cannot find -lnetcdf
>         make: *** [terrain] Error 2
>         ./terrain/x: line 16: ./terrain: No such file or directory

And which CPU type of your LINUX PC ?
>
>  Would you please let me know what I should be correcting or changing not
> to get this message?  Thank you very much for your time and cooperation.
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Dr. Xunqiang Bi         email:bixq at ictp.it
   Earth System Physics Group
   The Abdus Salam ICTP
   Strada Costiera, 11
   P.O. BOX 586, 34100 Trieste, ITALY
   Tel: +39-040-2240302  Fax: +39-040-2240449
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the RegCNET mailing list