Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

ERROR:UNDEFINED REFERENCE

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

ikhsanmurad

New member
Hi.
I have ./compile em_real, but the error is show undefined reference, which I can guess the error is from linking NETCDF.
I have google and been tried it, but still problem.
I have use latest NETCDF-C NETCDF-FORTRAN and also NETCDF4.1.3 but still get error when install WRF.
I'm using CentOS 8. My setting environment as below:-

export CC=gcc
export CXX=g++
export FC=gfortran
export FCFLAGS='-m64'
export F77=gfortran
export FFLAGS='-m64'
export F90=gfortran

export PATH=/usr/local/mpich/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/compile/lib:${LD_LIBRARY_PATH}
export JASPERINC=/usr/local/compile/include
export JASPERLIB=/usr/local/compile/lib
export PATH=/usr/local/compile/bin:$PATH
export NETCDF=/usr/local/compile

ulimit -s unlimited
export MALLOC_CHECK_=0
export EM_CORE=1
export WRFIO_NCD_LARGE_FILE_SUPPORT=1

Regards,
Ikhsan
 

Attachments

  • compile.log
    1,020.4 KB · Views: 64
Take a look at this previous forum post regarding this error:
https://forum.mmm.ucar.edu/phpBB3/viewt ... ead.c#p220
 
Top