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 '' |
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; |