wish: not found, netcdf not found
Posted: June 26th, 2015, 2:26 pm
I have successfully installed HYSPLIT per the execution of xrun.scr and viewing results.ps but 1) I can not get the program to find the netcdf libraries. Additionally, 2) the compile.sh script is not successful in creating the link to the hysplit gui, ./hysplit4.tcl. I followed the instructions to manually create the link found here. hysplit4.tcl was created in the working directory using the ln -s ../guicode/hysplit4.tcl hysplit4.tcl command, however, when executing ./hysplit4.tcl from /working/ the following error was given:
./hysplit4.tcl: line 43: exec: wish: not found
So I believe I have 2 separate issues. Any help would be very much appreciated.
My primary goal is the conversion of SIP quality WRF model runs to ARL format for trajectory analysis. I have changed the makefile in the hysplit/trunk/data2arl/arw2arl directory per this forum.
# exported in calling script
NETLIB = /usr/local/netcdf-4.1.3/lib
NETINC = /usr/local/netcdf-4.1.3/include
# library name for netCDF3=netcdf and for netCDF4=netcdff
LINKS = -L$(NETLIB) -lnetcdf -L../../library -lhysplit
# LINKS = -L$(NETLIB) -lnetcdff -L../../library -lhysplit
and have changed compile.sh in the trunk directory such that:
cd ${DIR}/data2arl/arw2arl
export NETLIB=/usr/local/netcdf-4.1.3/lib
export NETINC=/usr/local/netcdf-4.1.3/include
# export NETLIB=/usr/local/netCDF4/lib
# export NETINC=/usr/local/netCDF4/include
# export NETLIB=/usr/local/netcdf/netcdf363/lib
# export NETINC=/usr/local/netcdf/netcdf363/include
echo "Building the WRF-ARW decoder (requires export NetCDF lib/include)"
echo ***${PWD} 1>>${LOG} 2>>${LOG}
make clean 1>>${LOG} 2>>${LOG}
make 1>>${LOG} 2>>${LOG}
if [ $? -ne 0 ];then echo "ERROR";exit;fi
yet I still get the error when running the compile code that netcdf is not found. Compile.log has been attached.
Any help would be so much appreciated - I've frustrated all my knowledge on this - I'm still very junior in Linux. Thank you.
./hysplit4.tcl: line 43: exec: wish: not found
So I believe I have 2 separate issues. Any help would be very much appreciated.
My primary goal is the conversion of SIP quality WRF model runs to ARL format for trajectory analysis. I have changed the makefile in the hysplit/trunk/data2arl/arw2arl directory per this forum.
# exported in calling script
NETLIB = /usr/local/netcdf-4.1.3/lib
NETINC = /usr/local/netcdf-4.1.3/include
# library name for netCDF3=netcdf and for netCDF4=netcdff
LINKS = -L$(NETLIB) -lnetcdf -L../../library -lhysplit
# LINKS = -L$(NETLIB) -lnetcdff -L../../library -lhysplit
and have changed compile.sh in the trunk directory such that:
cd ${DIR}/data2arl/arw2arl
export NETLIB=/usr/local/netcdf-4.1.3/lib
export NETINC=/usr/local/netcdf-4.1.3/include
# export NETLIB=/usr/local/netCDF4/lib
# export NETINC=/usr/local/netCDF4/include
# export NETLIB=/usr/local/netcdf/netcdf363/lib
# export NETINC=/usr/local/netcdf/netcdf363/include
echo "Building the WRF-ARW decoder (requires export NetCDF lib/include)"
echo ***${PWD} 1>>${LOG} 2>>${LOG}
make clean 1>>${LOG} 2>>${LOG}
make 1>>${LOG} 2>>${LOG}
if [ $? -ne 0 ];then echo "ERROR";exit;fi
yet I still get the error when running the compile code that netcdf is not found. Compile.log has been attached.
Any help would be so much appreciated - I've frustrated all my knowledge on this - I'm still very junior in Linux. Thank you.