Tema: Linux y ROMS
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/09/2008, 17:06
Mr-Ubuntu
 
Fecha de Ingreso: septiembre-2008
Ubicación: Puerto Escondido Oaxaca
Mensajes: 12
Antigüedad: 16 años, 3 meses
Puntos: 0
Respuesta: Linux y ROMS

Hola que tal..jeje yo otra vez. ya sali del apuro de la libreria. pero ahora para correr el modelo desde matlab (que es la unica manera de correrlo) segun el manual tengo que agregar unas path's, ya las agregué pero segun el manual que para ejecutarlo desde mi versión de MatLab que es la 7.4.0 (R2007a) tengo quemodificar unas lineas al archivo:
/home/ROMS/Roms_tools/Run/start.m
-------------------------------------------------------------------------------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%
%
% Add the paths of the different toolboxes
%
% Further Information:
% http://www.brest.ird.fr/Roms_tools/
%
% This file is part of ROMSTOOLS
%
% ROMSTOOLS is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published
% by the Free Software Foundation; either version 2 of the License,
% or (at your option) any later version.
%
% ROMSTOOLS is distributed in the hope that it will be useful, but
% WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 59 Temple Place, Suite 330, Boston,
% MA 02111-1307 USA
%
% Copyright (c) 2005-2006 by Patrick Marchesiello and Pierrick Penven
% e-mail:[email protected]
%
% Updated 10-Sep-2006 by Pierrick Penven
% Updated 22-Sep-2006 by Pierrick Penven (64 bits test)
% Updated 24-Oct-2006 by Pierrick Penven (mask added)
% Updated 16-jan-2007 by Pierrick Penven (quikscat added)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%
disp(['Add the paths of the different toolboxes'])
mypath='../';
%
% ROMSTOOLS directories
%
addpath([mypath,'Aforc_NCEP'])
addpath([mypath,'Aforc_QuikSCAT'])
addpath([mypath,'Diagnostic_tools'])
addpath([mypath,'Forecast_tools'])
addpath([mypath,'Nesting_tools'])
addpath([mypath,'Preprocessing_tools'])
addpath([mypath,'Oforc_OGCM'])
addpath([mypath,'Opendap_tools'])
addpath([mypath,'Tides'])
addpath([mypath,'Visualization_tools'])
addpath([mypath,'Run/TEST_CASES'])
%
% Other software directories
%
addpath([mypath,'air_sea'])
addpath([mypath,'mask'])
addpath([mypath,'m_map'])
addpath([mypath,'netcdf_matlab'])
addpath([mypath,'netcdf_matlab/ncfiles'])
addpath([mypath,'netcdf_matlab/nctype'])
addpath([mypath,'netcdf_matlab/ncutility'])
%
% Get the path to the mexcdf (it depends on the architecture)
%
!uname -p > .mysystem
fid=fopen('.mysystem');
mysystem=fscanf(fid,'%s');
fclose(fid);
matversion=version('-release');
myversion=str2num(matversion(1:2));
!rm -f .mysystem
disp(['Arch : ',mysystem,' - Matlab version : ',matversion])
if (strcmp(mysystem(end-1:end),'64') & (myversion > 13))
disp('Use of mexnc and loaddap in 64 bits.')
addpath([mypath,'mexnc']) % 64bits version of mexnc
addpath([mypath,'Opendap_tools/FEDORA_X64']) % 64bits version of loaddap
elseif (strcmp(mysystem(end-1:end),'86') | (myversion <= 13))
disp('Use of mex60 and loaddap in 32 bits.')
addpath([mypath,'mex60']) % older version of mexcdf
addpath([mypath,'Opendap_tools/FEDORA']) % tested on matlab6 / fedora4
else
disp(['Arch : ',mysystem,...
' you should provide the paths of your own loaddap and mexcdf directories'])
end


------------------------------------------------------------------------------------------------------------------------------------------
alguien sabe que lineas debo modificar para que cargue con mi versión de MatLab.

Les agradezco mucho.. buen dia. Saludos.