[MITgcm-support] Re: Re : SpF_test-cube_cap

Riema Rachmayani imoth_22 at yahoo.com
Mon Jan 14 02:09:12 EST 2008


Dear Ed,

I've been quite busy the past few days so please pardon the slow
response!
==> It's okay Ed...although I need it very soon 

I'm glad to hear that you were able to build and run at least parts of
SPGrid.  Good!
==> Thank you..but I'd like to know more about SPGrid and must succed to run curvilinear for Lombok Strait  in this few weeks.

So what is failing?  Its difficult to tell from your email messages
since it seems that parts of the message are not getting through.  Is
there any chance you could send regular ASCII (that is, not html-
formatted) emails in the future?

==> Sorry for that....last day I have trouble with it..
> and then I have message :

[ ...message was not view-able in my email client... ]
 
> And when I checked directory of SpF_test_cube_cap.d, there
> is only std_topology.nc. There should
> be grid_*.mitgrid, grid_*.nc and std_topology.nc. Any example matlab
> script to open .nc files??
 
> What is that mean by number of facets gridded 5 [corrects=9] ??
> And why n is always zero number??
 
> Is there still contains an error??? What should I do??


SPGrid is written in a combination of C++ and MatLAB.  The MatLAB parts
of the code perform the actual gridding of the individual logically
rectangular regions and the C++ parts of the code keep track of the
region connectivity, the boundary conditions, etc.  The C++ code
creates the input files for the MatLAB script and calls the MatLAB
program (using a C "system(...)" call) to execute them.

I suspect that you have one or more problems related to matlab such as:

  1) Perhaps the "matlab" executable is not in your PATH?

==> matlab path is /home/admin/src and I run ./ SpF_test_cube_cap in  /home/admin/src/spgrid-0.9.4/src
        is that okay??or "matlab" should in /home/admin/src/spgrid-0.9.4/src ?
        to make it sure, I'll check it back...

  2) Perhaps "matlab" is in your path but is missing one or more of 
     the necessary matlab scripts?
==> Did you mean matlab script in the spgrid?? I've checekd it out , the matlab script is complete. 

  3) Perhaps you do not have a copy of the matlab netcdf toolbox 
     or its not in your matlab-path?  You can get a copy of the 
     matlab netcdf toolbox at:

       http://mitgcm.org/eh3/matlab_netcdf/
     
==> Yes, I already copy the matlab netcdf toolbox from your address. I'll check the path.

     and a copy of the matlab "wrapper script" that I use to 
     set the matlab path at:

       http://mitgcm.org/eh3/matlab_netcdf/matlab


I hope the above helps.  The problems you're seeing are consistent with
a failure of the C++ code to invoke matlab and get the matlab results.
Please take a look into the output in the files:

  SpF_test_cube_cap.d/mat_out_*

==> Hmm...here is the mat_out_0 until mat_out_4 scripts. They looks similar :

                              < M A T L A B >
                  Copyright 1984-2004 The MathWorks, Inc.
                         Version 7.0.0.19901 (R14)
                                May 06, 2004

 
  To get started, type one of these: helpwin, helpdesk, or demo.
  For product information, visit www.mathworks.com.
 
>> >> >> >> >> >> >> >> >> >> >> >> ??? Undefined command/function 'grid_from_CaM'.

>> 

and it should give you some idea whats going on.

You mean the problem is in grid_from_CaM ?? because this function writes 2 files [ fbname '.mitgrid' ] and [ fbname '.frac_edge' ]....thats why .mitgrid is not exist in SpF_test_cube_cap directory?? am I right??

grid_from_CaM is in home/admin/src/spgrid-0.9.4/script and I've run ./ SpF_test_cube_cap in  /home/admin/src/spgrid-0.9.4/src.

So what should I do??

Thank you,
Rima

Ed

-- 
Edward H. Hill III, PhD  |  ed at eh3.com  |  http://eh3.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :
 http://forge.csail.mit.edu/pipermail/mitgcm-support/attachments/20080111/6db527d3/signature-0001.bin

------------------------------

_______________________________________________
MITgcm-support mailing list
MITgcm-support at mitgcm.org
http://mitgcm.org/mailman/listinfo/mitgcm-support


End of MITgcm-support Digest, Vol 55, Issue 5
*********************************************





Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20080113/685448d9/attachment.htm>


More information about the MITgcm-support mailing list