This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Dear, > I have appended the error in compiling the ARPS model linking NetCDF. Can you > help me? > Thanks. > > pgf90 -fast -O2 -Munroll=c:4,n:4 -Mvect=assoc,cachesize:262144,sse > -I/home/arps/arps5.2.4/rams2arps -I/home/arps/arps5.2.4/include > -I/usr/local/include -tp p7 -byteswapio -Mfree -c nolaps3d.f90 > NOTE: your evaluation license will expire in 8 days, 23.2 hours. > Waiting for 5 seconds... > For a permanent license, please read the order acknowledgement > that you received. Connect to https://www.pgroup.com/license with > the username and password in the order acknowledgement. > > Name: petti > User: petti > Email: address@hidden > Hostid: PGI=000002E10010014F3CE4AA > NOTE: your evaluation license will expire in 8 days, 23.2 hours. > Waiting for 5 seconds... > For a permanent license, please read the order acknowledgement > that you received. Connect to https://www.pgroup.com/license with > the username and password in the order acknowledgement. > > Name: petti > User: petti > Email: address@hidden > Hostid: PGI=000002E10010014F3CE4AA > pgf90 -o /home/arps/arps5.2.4/rams2arps/bin/ext2arps ext2arps.o extlib.o > getextd3d.o gribio_c.o griblib3d.o rdnmcgrb3d.o nmcdecode.o getcoamps.o > dummye2a.o nogempak3d.o nolaps3d.o \ > /home/arps/arps5.2.4/rams2arps/lib/libadas.a \ > /home/arps/arps5.2.4/rams2arps/lib/libarps.a \ > -L/usr/local/lib -lnetcdf > /usr/bin/ld: skipping incompatible /usr/local/lib/libnetcdf.a when searching > for > -lnetcdf > /usr/bin/ld: skipping incompatible /usr/local/lib/libnetcdf.a when searching > for > -lnetcdf > /usr/bin/ld: cannot find -lnetcdf > make[1]: ** [/home/arps/arps5.2.4/rams2arps/bin/ext2arps] Erro 2 > make[1]: Leaving directory `/home/arps/arps5.2.4/src/ext2arps' > make: ** [ext2arps] Erro 2 > > > --- > Prof. Leanderson Marcos da Silva Paiva > Centro Federal de Educa��o Tecnol�gica > Celso Suckow da Fonseca - CEFET-RJ > Coordenadoria de Meteorologia - COMET > Av. Maracan�, n� 229, bloco A, Torre, Maracan� > CEP: 20271-110, Rio de Janeiro, RJ, Brasil > tel.:(55)(0xx21)2566-3163 > telefax:(55)(0xx21)2567-0844 > > Is it possible that your fortran compiler is doing a 64 bit compile here? If so, then the problem is probably that your netCDF library is compiled for 32 bits, so it is being ignored. You probably want to recompile netCDF in 64-bit mode. What C compiler are you using? You could take a look here to see we know how to do this for your compiler: http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#64-bit Please let me know if this works for you. Thanks! Ed Ticket Details =================== Ticket ID: TAL-431883 Department: Support netCDF Priority: Normal Status: Closed