Mex problem in matlab 2014a

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
maxblu33
Posts: 22
Joined: Wed Sep 30, 2015 8:21 pm
Location: Institute of Oceanology of Cuba

Mex problem in matlab 2014a

#1 Post by maxblu33 » Wed May 04, 2016 4:09 pm

Dear Roms users:
Is there any way to successfully compile Rect.f to make a grid with Seagrid using mex in matlab 2014a with ubuntu 14.04 system. Because according to what a readed in other posts people are having trouble whith it and instead turning to some version that is only for windows, but that is not an option for me. I found the following problem when i tried to run make_seagrid_mex
make_seagrid_mex
wait for the figure to finish plotting, then hit any key to continue

**************************************************************************
Warning: Neither -compatibleArrayDims nor -largeArrayDims is selected.
Using -compatibleArrayDims. In the future, MATLAB will require
the use of -largeArrayDims and remove the -compatibleArrayDims
option. For more information, see:
http://www.mathworks.com/help/matlab/ma ... t-api.html
**************************************************************************

/home/elendil/installs/MATLAB/bin/mexsh: 30: ./mexopts.sh: Syntax error: word unexpected (expecting "in")
Unable to complete successfully.

Error in make_seagrid_mex (line 15)
mex -f ./mexopts.sh -v mexrect.F
another question: Cold I use the Rect.F code directly, outside matlab, to make my grid ortogonal once the grid is created

thaks in advance
Luis Sorinas

Post Reply