/[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.4 by gforget, Fri Nov 5 22:09:07 2010 UTC
# Line 70  matlab -nojvm -nodisplay << EOF Line 70  matlab -nojvm -nodisplay << EOF
70    cd ..;    cd ..;
71    
72    %test MITprof:    %test MITprof:
73    is_netcdf_avail=~isempty(which('ncload'));    is_netcdf_avail=~isempty(which('ncexample'))|~isempty(which('netcdf.create'));
74    %is_netcdf_avail=0;    is_netcdf_redundant=~isempty(which('ncexample'))&~isempty(which('netcdf.create'));
75      if (is_netcdf_redundant);
76        fprintf('\n\n!! You have both the old mex/netcdf and the native matlab/netcdf installed.\n');
77        fprintf('!! Since they are conflicting (name clashes) you will likely run into trouble. \n');
78        fprintf('!! You may want to remove the old mex/netcdf stuff from your matlab path.\n\n');
79      end;
80    if ~is_netcdf_avail;    if ~is_netcdf_avail;
81      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');
82    else;    else;
83      cd MITprof;      cd MITprof;
84      global MITprof_verbose; MITprof_verbose=0;      global MITprof_verbose; MITprof_verbose=0;

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

  ViewVC Help
Powered by ViewVC 1.1.22