[MITgcm-support] Build with nectdf

Patti M Sheaffer Patti.M.Sheaffer at aero.org
Mon Jul 30 13:30:19 EDT 2012


 Specifically, what is an "inverted comma?" 

 I've noticed some issues with library linking with the -lnetcdf call to 
 gcc this way and am very curious for the fix!  The best I've been able 
 to do is to specifically name the library in the call.  I've built 
several 
 of these codes and always have the same problem with netcdf. 

 Does anyone know whan MITgcm will get a land-ice model? 

 Thanks!! 

 PattiMichelle Sheaffer - Res. Sci.
 Space Science Applications Lab.
 The Aerospace Corporation - M2/266 
 2310 E. El Segundo Blvd.
 El Segundo, CA 90245 
 Mail: P.O. Box 92957 
 Los Angeles, CA 90009-2957 
 office:        (310) 336-7349 
 lab:        (310) 336-8701 
 FAX:        (310) 336-2026 (-2027)
 
 
__________________________________________________________________________
 "Employees need to see diversity in their work environment; otherwise 
 they're 
 afraid to reveal anything different about themselves — even new ideas." 
                    --- Prof. Lynn Conway; IEEE Fellow, Inventor 
 

>>
>>
>> From:        Abhisek Chakraborty <abhisek.sac at gmail.com> 
>> To:        mitgcm-support at mitgcm.org, 
>> Date:        07/30/2012 07:53 AM 
>> Subject:        Re: [MITgcm-support] Build with nectdf 
>>
>>
>>
>> Roopa, 
>>
>> You should use "inverted commas" in your compiler definition.e.g. 
>> CC="gcc -I/home/roopa/netcdf-3.6.1/include 
> -L/home/roopa/netcdf-3.6.1/lib 
>> -lnetcdf " 
>>
>> and similarly for FC and F90C. 
>>
>> Hope this will work. 
>>
>> Abhisek
>>
>> On Mon, Jul 30, 2012 at 6:44 PM, taimaz.bahadory 
> <taimaz.bahadory at mun.ca> 
>> wrote: 
>> 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
>>
>>
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>>
>> [2:text/html Show]
>
>
> [2:text/html Show]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20120730/6da90755/attachment.htm>


More information about the MITgcm-support mailing list