/[MITgcm]/MITgcm_contrib/gael/setup_gcmfaces_and_mitprof.csh
ViewVC logotype

Diff of /MITgcm_contrib/gael/setup_gcmfaces_and_mitprof.csh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by gforget, Thu Nov 4 15:45:46 2010 UTC revision 1.6 by gforget, Fri Aug 5 21:44:32 2011 UTC
# Line 26  if !( -f ${HOME}/.cvspass ) then Line 26  if !( -f ${HOME}/.cvspass ) then
26  endif  endif
27    
28  setenv CVS_RSH ssh  setenv CVS_RSH ssh
29  cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -d gcmfaces MITgcm_contrib/gael/matlab_class  cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d gcmfaces MITgcm_contrib/gael/matlab_class
30  cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack  co -d MITprof MITgcm_contrib/gael/profilesMatlabProcessing  cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack  co -P -d MITprof MITgcm_contrib/gael/profilesMatlabProcessing
31    
32  if !( -d gcmfaces) then  if !( -d gcmfaces) then
33    echo ''    echo ''
# Line 64  matlab -nojvm -nodisplay << EOF Line 64  matlab -nojvm -nodisplay << EOF
64    
65    %test gcmfaces:    %test gcmfaces:
66    cd gcmfaces;    cd gcmfaces;
67    global gcmfaces_skipplottest; gcmfaces_skipplottest=1;    gcmfaces_global;
68    global gcmfaces_verbose; gcmfaces_verbose=0;    myenv.verbose=1;
69      myenv.lessplot=1;
70      myenv.lesstest=1;
71    gcmfaces_init;    gcmfaces_init;
72    cd ..;    cd ..;
73    
74    %test MITprof:    %test MITprof:
75    is_netcdf_avail=~isempty(which('ncload'));    is_netcdf_avail=~isempty(which('ncexample'))|~isempty(which('netcdf.create'));
76    %is_netcdf_avail=0;    is_netcdf_redundant=~isempty(which('ncexample'))&~isempty(which('netcdf.create'));
77      if (is_netcdf_redundant);
78        fprintf('\n\n!! You have both the old mex/netcdf and the native matlab/netcdf installed.\n');
79        fprintf('!! Since they are conflicting (name clashes) you will likely run into trouble. \n');
80        fprintf('!! You may want to remove the old mex/netcdf stuff from your matlab path.\n\n');
81      end;
82    if ~is_netcdf_avail;    if ~is_netcdf_avail;
83      fprintf('\n Warning: Using MITprof cannot be \n used until you get the netcdf toolbox.\n');      fprintf('\n !!!! Error: Using MITprof cannot be \n used until you get the netcdf toolbox.\n');
84    else;    else;
85      cd MITprof;      cd MITprof;
86      global MITprof_verbose; MITprof_verbose=0;      global MITprof_verbose; MITprof_verbose=0;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22