Greetings,
I'm trying to get WRF to run in WSL on my Windows 11 PC. I was able to successful run "configure" (though just the basics; note that I used option 34 (dmpar) for GNU (gfortran/gcc)) but I was unsuccessful running "compile em_real". Here's the output after the Copyright/disclaimer:
setting parallel make -j 2
==============================================================================================
The following indicate the compilers selected to build the WRF system
Serial Fortran compiler (mostly for tool generation):
which SFC
/usr/bin/gfortran
Serial C compiler (mostly for tool generation):
which SCC
/usr/bin/gcc
Fortran compiler for the model source code:
which FC
Will use 'time' to report timing information
C compiler for the model source code:
which CC
make: *** [Makefile:68: configcheck] Error 1
When I type "which cc" from the command line, I get "/usr/bin/cc" (which is actually a link to /usr/bin/gcc which is actually a link to /usr/bin/x86-64-linux-gnu-gcc-11: somehow the "Serial C compiler" finds this). I put "export CC=/usr/bin/x86_64-linux-gnu-gcc-11" into .bashrc as well (and sourced it).
Any tips?
Thanks,
Brandt
I'm trying to get WRF to run in WSL on my Windows 11 PC. I was able to successful run "configure" (though just the basics; note that I used option 34 (dmpar) for GNU (gfortran/gcc)) but I was unsuccessful running "compile em_real". Here's the output after the Copyright/disclaimer:
setting parallel make -j 2
==============================================================================================
The following indicate the compilers selected to build the WRF system
Serial Fortran compiler (mostly for tool generation):
which SFC
/usr/bin/gfortran
Serial C compiler (mostly for tool generation):
which SCC
/usr/bin/gcc
Fortran compiler for the model source code:
which FC
Will use 'time' to report timing information
C compiler for the model source code:
which CC
make: *** [Makefile:68: configcheck] Error 1
When I type "which cc" from the command line, I get "/usr/bin/cc" (which is actually a link to /usr/bin/gcc which is actually a link to /usr/bin/x86-64-linux-gnu-gcc-11: somehow the "Serial C compiler" finds this). I put "export CC=/usr/bin/x86_64-linux-gnu-gcc-11" into .bashrc as well (and sourced it).
Any tips?
Thanks,
Brandt