[ncl-talk] Troubleshooting WRAPIT

Dennis Shea shea at ucar.edu
Thu Jun 13 07:39:50 MDT 2019


This does work one two systems and not on the third.
Looks like a library is missing:  libmpc.so.2

The following is for people that know about installation issues.
I have attached the two codes used by WRAPIT.

What version of NCL are you using?
Also, the output from

%> uname -a
%> gcc --version
%> ncl -V

----
*The following is successful*
*%>* uname -a
Linux logan.cgd.ucar.edu 3.10.0-957.12.1.el7.x86_64 #1 SMP Mon Apr 29
14:59:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

*%>* gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)

*%>* ncl -V
6.5.0

*WRAPIT* cal_fr.stub cal_fr.f90

WRAPIT Version: 120209
COMPILING cal_fr.f90
LINKING
END WRAPIT
---
*%>* uname -a
Linux cheyenne4 3.12.62-60.64.8-default #1 SMP Tue Oct 18 12:21:38 UTC 2016
(42e0a66) x86_64 x86_64 x86_64 GNU/Linux

%> gcc --version
gcc (SUSE Linux) 4.8.5

%> ncl -V
*6.6.2*

%> *WRAPIT* cal_fr.stub cal_fr.f90

WRAPIT Version: 120209
COMPILING cal_fr.f90
LINKING
END WRAPIT
-
---
*The following fails.*

*%>  *uname -a
Darwin sherkin 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT
2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64

*%>* gcc --version
gcc (GCC) 6.2.0

%> *WRAPIT* cal_fr.stub cal_fr.f90

WRAPIT Version: 120209

*WRAPIT.c:4:19: fatal error: stdio.h: No such file or directory #include
<stdio.h>*
                   ^
compilation terminated.
COMPILING cal_fr.f90
LINKING
gcc: error: WRAPIT.o: No such file or directory
rm: WRAPIT.o: No such file or directory
END WRAPIT

On Wed, Jun 12, 2019 at 9:47 PM flyeh <flyeh at gate.sinica.edu.tw> wrote:

> Hello,
>
> I am trying to do a WRAPIT on the attached code, but it fails with :
>
> WRAPIT Version: 120209
> /data1/opt/gcc-4.8.5/libexec/gcc/x86_64-unknown-linux-gnu/4.8.5/cc1: error
> while loading shared libraries: libmpc.so.2: cannot open shared object
> file: No such file or directory COMPILING cal_fr.f90
> /data1/opt/gcc-4.8.5/libexec/gcc/x86_64-unknown-linux-gnu/4.8.5/f951:
> error while loading shared libraries: libmpc.so.2: cannot open shared
> object file: No such file or directory LINKING
> gcc: error: WRAPIT.o: No such file or directory
> gcc: error: cal_fr.o: No such file or directory
> rm: cannot remove `WRAPIT.o': No such file or directory
> rm: cannot remove `cal_fr.o': No such file or directory
> END WRAPIT
>
> Does anyone know how to fix it?
>
>
> Tanks in advance,
>
> Regards,
>
> Ariel
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190613/79f6053f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cal_fr.stub
Type: application/octet-stream
Size: 261 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190613/79f6053f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cal_fr.f90
Type: application/octet-stream
Size: 876 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190613/79f6053f/attachment-0001.obj>


More information about the ncl-talk mailing list