[MITgcm-support] Build with nectdf

taimaz.bahadory taimaz.bahadory at mun.ca
Mon Jul 30 09:14:47 EDT 2012


Do you have your netCDF***/bin directory included in your system $PATH too?
If not, maybe placing it on the head of your $PATH can resolve the problem.

"export PATH=/home/roopa/netcdf-3.6.1/bin:$PATH"


On Mon, Jul 30, 2012 at 10:36 AM, Roopashree Shrivastava
<rss1901 at gmail.com>wrote:

> Dear Abhisek
>
> i modified the lines containing the compiler gcc and gfortran to the
> following as mentioned by you. but genmake2 still can't get the path (i
> dont know whats the prob??)
>
>   CC=gcc -I/home/roopa/netcdf-3.6.1/include -L/home/roopa/netcdf-3.6.1/lib
> -lnetcdf
>   FC=gfortran -I/home/roopa/netcdf-3.6.1/include
> -L/home/roopa/netcdf-3.6.1/lib -lnetcdf
>   F90C=gfortran -I/home/roopa/netcdf-3.6.1/include
> -L/home/roopa/netcdf-3.6.1/lib -lnetcdf
>
> the output from genmake2 is reproduced here
>
> ../../../tools/build_options/linux_amd64_gfortran: line 45:
> -I/home/roopa/netcdf-3.6.1/include: No such file or directory
> ../../../tools/build_options/linux_amd64_gfortran: line 46:
> -I/home/roopa/netcdf-3.6.1/include: No such file or directory
> ../../../tools/build_options/linux_amd64_gfortran: line 47:
> -I/home/roopa/netcdf-3.6.1/include: No such file or directory
>
> Error: no Fortran compiler: please specify using one of the following:
>   1) within the options file ("FC=...") as specified by "-of=OPTFILE"
>   2) the "-fc=XXX" command-line option
>   3) the "./genmake_local" file
>
> any other suggestions
>
> thanks
> Roopa
>
>
> On Fri, Jul 20, 2012 at 3:07 PM, Roopashree Shrivastava <rss1901 at gmail.com
> > wrote:
>
>> hi Abhisek,
>>  thnks very much for your reply. I am following your instructions and
>> will get back to you if needed.
>>
>> Warm Regards
>> Roopa
>>
>>
>> On Thu, Jul 19, 2012 at 9:46 PM, Abhisek Chakraborty <
>> abhisek.sac at gmail.com> wrote:
>>
>>> Hello Roopa,
>>>
>>> MITgcm at BARC!!! It is very strange to know about nuclear scientists
>>> interested in simulating ocean circulations!
>>>
>>> I generated Global 1deg grid from ETOPO2 global bathymetry data
>>> (available from NOAA) and for vertical grids, I used Levitus levels. All
>>> these data are freely available on internet. You can easily download all
>>> these. Then you can use "gendata.m" (available with MITgcm distribution)
>>> matlab script to generate your grid.
>>>
>>> The data volume is too large to send through mail. So you have to do it
>>> yourself.
>>>
>>> Happy Modelling!
>>>
>>> Abhisek
>>>
>>>
>>> On Thu, Jul 19, 2012 at 6:46 PM, Roopashree Shrivastava <
>>> rss1901 at gmail.com> wrote:
>>>
>>>> hi abhisek,
>>>>  I am Roopa working in BARC Mumbai. i saw ur query on the MITGCM mail
>>>> sever. actually i cant answer it sine i am too new to this model. However i
>>>> need a small help from you. how do you generate a grid in MITGCM. for ex if
>>>> i want a global ocean simulation at 1 deg resolution and 32 vertical levels
>>>> ( i think this is what u have used) then what is the procedure for
>>>> obtaining the grid.
>>>> Any help would be greatly appreciated.
>>>>
>>>> Bye
>>>> Roopa
>>>>
>>>
>>>
>>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20120730/f80df4ed/attachment.htm>


More information about the MITgcm-support mailing list