[ncl-install] WRAPIT problem on Mac

Mary Haley haley at ucar.edu
Sun Aug 21 13:31:04 MDT 2011


Hi Axel,

The problem *may* be related to the fact that you are using gfortran 4.6, and this version of NCL was compiled with gfortran 4.5.

Please run WRAPIT with the "-d" output and send me all the output.

Also, if you can send me the Fortran file you're trying to wrap, then I'll see if I can wrap it on my Mac using 6.0.0. I would need your script too.

Thanks,

--Mary

On Aug 19, 2011, at 9:06 AM, Seifert Axel wrote:

> 
> Hi ncl-install,
> 
> I have installed NCL from
> 
> ncl_ncarg-6.0.0.MacOS_10.6_64bit_nodap_gcc421
> 
> binaries. On a new MacBook Mac OS 10.6.8
> 
> uname -a
> 
> Darwin d134-191.mpi.zmaw.de 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
> 
> And everything works fine, except that WRAPIT does not want to WRITE characters or floating points to standard out. The error I get is:
> 
> Internal Error: list_formatted_write(): Bad type
> 
> Integers work fine. Having a lot of WRAPIT-based scripts, this is a serious problem for me right now.
> 
> During the installation I might have messed up the gfortran/gcc, because I first installed gfortran from 
> 
> http://gcc.gnu.org/wiki/GFortranBinaries#MacOS
> 
> with 
> 
> gfortran-4.6.1-x86_64-SnowLeopard.dmg
> 
> which already gave me the problem in WRAPIT. 
> 
> After that, in a first attempt to fix the problem, I installed gcc with MacPorts. Now my compilers look like that:
> 
> gcc -v
> 
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
> 
> gfortran -v
> Es werden eingebaute Spezifikationen verwendet.
> COLLECT_GCC=gfortran
> COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/x86_64-apple-darwin10/4.6.1/lto-wrapper
> Ziel: x86_64-apple-darwin10
> Konfiguriert mit: ../gcc-4.6.1/configure --prefix=/usr/local/gfortran --with-gmp=/Users/fx/devel/gcc/deps-static/x86_64 --enable-languages=c,c++,fortran,objc,obj-c++ --build=x86_64-apple-darwin10
> Thread-Modell: posix
> gcc-Version 4.6.1 (GCC) 
> 
> Does anybody have an idea how I can fix my WRAPIT problem? 
> 
> Best,   Axel
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install



More information about the ncl-install mailing list