Dear everyone,
1. I am a newbie with Linux and ROMS. Installed matlab2010b 64 bit on CENTOS 64 system. Followed this instruction http://www.o3d.org/rnt/ but feel really confused about how to add those libraries in the matlab toolbox path. In startup.m file? However, no such file in matlab/toolbox/local directory. Only found pathdef.m. So I add the library path in this pathdef.m file. However, when I add matlib library as a path in this file and run matlab again. Errors are below:
MATLAB:invalidMEXFile
Invalid MEX-file '***/matlib/mexnc/mexnc.mexa64': libstdc++.so.5:
when I try to run rnt_compile in the rnt/mex file on matlab:
>> rnt_compile
Warning: You are using gcc version "4.8.5". The version
currently supported with MEX is "4.3.4".
For a list of currently supported compilers see:
http://www.mathworks.com/support/compil ... t_release/
In file rnt_2sigma_mex.F:57
call xhslice(%val(pr_fout),%val(pr_zn),%val(pr_sn),%val(pr_finp),
1
In file rnt_2sigma_mex.F:66
subroutine xhslice (f2d,depths,z,f3d,im,jm,km,vintrp,iz)
2
Warning (155): Inconsistent types (INTEGER(8)/REAL(8)) in actual argument lists at (1) and (2)
Assembler messages:
Fatal error: can't create rnt_2sigma_mex.o: 权限不够
mex: compile of ' "rnt_2sigma_mex.F"' failed.
??? Error using ==> mex at 208
Unable to complete successfully.
Error in ==> rnt_compile at 2
mex rnt_2sigma_mex.F
Does anyone could help me?~~~ Thank you very much in advance.
rnt_compile problem
Re: rnt_compile problem
It seems that I have this problem solved by replacing the mexnc directory in matlib with correspondence mexnc version.
Re: rnt_compile problem
hello
I meet the same problem,and have changed the mexcdf and netcdf_toolbox,but the type is still inconsistent.i dont known what the problem is .could you give me some advices,please? thank you very much.
I meet the same problem,and have changed the mexcdf and netcdf_toolbox,but the type is still inconsistent.i dont known what the problem is .could you give me some advices,please? thank you very much.