failed in using loaddap with matlab2017b on centOS 7 system

I need to download data from NCEP website with the opendap link of (https://nomads.ncep.noaa.gov:9090/dods/gfs_0p25/gfs20190409/gfs_0p25_00z)
the command "x=loaddap('-A -e +v ', fname)"
the system shows the error massage of:
------
If you are sseing this message, the copy of loaddap that matlab
tried to run was not compatible with your computer.
Please visit <a href="http://www.opendap.org/download">opendap.org</a> to get the correct version or
email support@opendap.org for help.
Error using loaddap (line 141)
Incompatible compiled matlab program installed.
------
by addapth addpath('/dataA/swan/prj.roms.opr.HM/loaddap-3.7.3/')
-
How should I solve the problem?

Answers (2)

I have the same problem with the loaddap for Matlb 2017. Please if anyone knows, I will be immensely grateful, however I am using Linux.

1 Comment

Hola a todos.
Hoy vengo a responder mi propia pregunta.
El problema de compatibilidad no es con el matlab, sino la intalación correcta del Libdap y Opendap en Linux.
Cualquier duda escribanme.
Gracias.

Sign in to comment.

Hola Cristian,
Tengo un problema similar cuando utilizo Loaddap desde las rutinas de ROMS AGRIF.
me gustaría saber cómo solucionaste tu problema, cuales versiones de Libdap y Loaddap tienes instaladas?
De antemano muchas gracias.
Los detalles del error que te comento son los siguientes:
Cuando ejecuto una línea (por ejemplo, esta que viene de guía en Loaddap)
temps = loaddap('http://test.opendap.org/opendap/data/nc/coads_climatology.nc?SST[0:0][0:89][0:179]')
ocurre el siguiente error:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MATLAB crash file:/home/jesus/matlab_crash_dump.10395-1:
------------------------------------------------------------------------
Segmentation violation detected at Thu Aug 20 10:32:03 2020
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: Unknown software
Current Visual : 0x21 (class 4, depth 24)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.28 stable
Host Name : debian
MATLAB Architecture : glnxa64
MATLAB Entitlement ID: 6257193
MATLAB Root : /usr/local/MATLAB/R2017a
MATLAB Version : 9.2.0.538062 (R2017a)
OpenGL : software
Operating System : Linux 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64
Processor ID : x86 Family 6 Model 85 Stepping 4, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The X.Org Foundation (12004000), display :0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000000000000 RBX = 0000000000000003
RCX = 0000000000000000 RDX = 0000000000000000
RSP = 00007f2333512fe0 RBP = 00007f2333513030
RSI = 0000000000000003 RDI = fffffffffffde2a0
R8 = 00007f22813eafcc R9 = 0000000000000003
R10 = 00007f22813eafc0 R11 = 0000000000000002
R12 = 00007f22813c9060 R13 = 00007f22813c92a0
R14 = 0000000000000000 R15 = 00007f22813cb560
RIP = 00007f23300e6265 EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f23300e6265 /opt/opendap/bin/loaddap.mexa64+00012901
[ 1] 0x00007f23300e67e0 /opt/opendap/bin/loaddap.mexa64+00014304
[ 2] 0x00007f23300e871e /opt/opendap/bin/loaddap.mexa64+00022302
[ 3] 0x00007f23300e8bab /opt/opendap/bin/loaddap.mexa64+00023467
[ 4] 0x00007f23300e8f95 /opt/opendap/bin/loaddap.mexa64+00024469
[ 5] 0x00007f23300e5bb4 /opt/opendap/bin/loaddap.mexa64+00011188 mexFunction+00000429
[ 6] 0x00007f23458ae6a7 bin/glnxa64/libmex.so+00186023 mexRunMexFile+00000439
[ 7] 0x00007f23458a64a3 bin/glnxa64/libmex.so+00152739
[ 8] 0x00007f23458a7295 bin/glnxa64/libmex.so+00156309
[ 9] 0x00007f2344b991f3 bin/glnxa64/libmwm_dispatcher.so+00782835 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000947
[ 10] 0x00007f2344b99abe bin/glnxa64/libmwm_dispatcher.so+00785086 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000030
[ 11] 0x00007f2340ebe4a0 bin/glnxa64/libmwm_lxe.so+11719840
[ 12] 0x00007f2340ebea2b bin/glnxa64/libmwm_lxe.so+11721259
[ 13] 0x00007f2340f28961 bin/glnxa64/libmwm_lxe.so+12155233
[ 14] 0x00007f234083ea00 bin/glnxa64/libmwm_lxe.so+04905472
[ 15] 0x00007f2340840c84 bin/glnxa64/libmwm_lxe.so+04914308
[ 16] 0x00007f234083d224 bin/glnxa64/libmwm_lxe.so+04899364
[ 17] 0x00007f2340838b21 bin/glnxa64/libmwm_lxe.so+04881185
[ 18] 0x00007f2340838fb9 bin/glnxa64/libmwm_lxe.so+04882361
[ 19] 0x00007f234083ca10 bin/glnxa64/libmwm_lxe.so+04897296
[ 20] 0x00007f234083cadf bin/glnxa64/libmwm_lxe.so+04897503
[ 21] 0x00007f2340936a1c bin/glnxa64/libmwm_lxe.so+05921308
[ 22] 0x00007f234093b083 bin/glnxa64/libmwm_lxe.so+05939331
[ 23] 0x00007f2340dbdb0e bin/glnxa64/libmwm_lxe.so+10668814
[ 24] 0x00007f2340d89dd4 bin/glnxa64/libmwm_lxe.so+10456532
[ 25] 0x00007f2340d8a14a bin/glnxa64/libmwm_lxe.so+10457418
[ 26] 0x00007f2340d8b919 bin/glnxa64/libmwm_lxe.so+10463513
[ 27] 0x00007f2340e002be bin/glnxa64/libmwm_lxe.so+10941118
[ 28] 0x00007f2340e0064a bin/glnxa64/libmwm_lxe.so+10942026
[ 29] 0x00007f2342f6141b bin/glnxa64/libmwbridge.so+00189467
[ 30] 0x00007f2342f620cd bin/glnxa64/libmwbridge.so+00192717 _Z8mnParserv+00000829
[ 31] 0x00007f2344e5fdf3 bin/glnxa64/libmwmcr.so+00552435
[ 32] 0x00007f2344e61f9e bin/glnxa64/libmwmcr.so+00561054
[ 33] 0x00007f2344e62619 bin/glnxa64/libmwmcr.so+00562713 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025
[ 34] 0x00007f2344e60f06 bin/glnxa64/libmwmcr.so+00556806
[ 35] 0x00007f234562e739 bin/glnxa64/libmwiqm.so+00857913
[ 36] 0x00007f234561b06c bin/glnxa64/libmwiqm.so+00778348 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 37] 0x00007f234561ad4c bin/glnxa64/libmwiqm.so+00777548 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 38] 0x00007f23455f8fba bin/glnxa64/libmwiqm.so+00638906
[ 39] 0x00007f23455e715f bin/glnxa64/libmwiqm.so+00565599
[ 40] 0x00007f23455e9609 bin/glnxa64/libmwiqm.so+00574985
[ 41] 0x00007f2354a1a01a bin/glnxa64/libmwservices.so+02469914
[ 42] 0x00007f2354a1b5cf bin/glnxa64/libmwservices.so+02475471
[ 43] 0x00007f2354a1bd7a bin/glnxa64/libmwservices.so+02477434 _Z25svWS_ProcessPendingEventsiib+00000186
[ 44] 0x00007f2344e6056e bin/glnxa64/libmwmcr.so+00554350
[ 45] 0x00007f2344e60901 bin/glnxa64/libmwmcr.so+00555265
[ 46] 0x00007f2344e4e206 bin/glnxa64/libmwmcr.so+00479750
[ 47] 0x00007f235382ffa3 /lib/x86_64-linux-gnu/libpthread.so.0+00032675
[ 48] 0x00007f23537604cf /lib/x86_64-linux-gnu/libc.so.6+01021135 clone+00000063
[ 49] 0x0000000000000000 <unknown-module>+00000000
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Categories

Asked:

on 12 Apr 2019

Answered:

on 20 Aug 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!