Open sourabhmet opened 5 years ago
Hi @sourabhmet,
Could you please run the following commands and reply with the output?
which ncl
ncl -V
echo $NCARG_ROOT
Thanks!
please check the output
$ which ncl /home/sourabh/anaconda3/bin/ncl $ ncl -V 6.6.2 $ echo $NCARG_ROOT /home/sourabh/mod/Build_WRF/LIBRARIES/ncl
Hi @sourabhmet,
Thanks for running those commands.
It looks like your NCARG_ROOT environment variable is set to use the files from a different version of NCL (/home/sourabh/mod/Build_WRF/LIBRARIES/ncl
) than what you have installed from conda (/home/sourabh/anaconda3/bin/ncl
). Setting NCARG_ROOT manually should fix the error message you're seeing:
export NCARG_ROOT=/home/sourabh/anaconda3
We generally recommend installing NCL into its own conda environment (see the "Create a conda environment and install NCL" section on this page of our documentation) because running conda activate $ncl_env
sets the NCARG_ROOT variable for you, but setting NCARG_ROOT manually should also work.
I hope this helps!
I am getting this bug during compilations of wrf in NCL
Describe the bug A clear and concise description of what the bug is. Include any error messages.
Provide the following:
Computing environment
Additional context Add any other context about the problem here.