Hello,
I am following https://www2.mmm.ucar.edu/wrf/OnLineTut ... torial.php to compile WRF Model Version 4.2 on my x86_64 BSD machine with mpich, gfortran and gcc. I am running DragonFly-5.8.1 on an ASUS ZENBOOK PRO I7-7700HQ/16GB/512GB SSD BLACK, Notebook mit 15,6 inch Display, Core i7 Processor, 16 GB RAM, 512 GB SSD, GeForce GTX1050. My plan is to compile and run WRF locally on this machine with MPICH. More info on my compilers and hardware is available in my previous post on the configure options: https://forum.mmm.ucar.edu/phpBB3/viewtopic.php?f=37&t=9090.
Before configure and compile, I comment all includes of malloc.h like this, as I was advised in a BSD forum:
"
find . -type f -exec sed -i '' 's/\#include <malloc.h>/\/*\#include <malloc.h> \*\//' {} \;
find . -type f -exec sed -i '' 's/\# include <malloc.h>/\/*\# include <malloc.h> \*\//' {} \;
find . -type f -exec sed -i '' 's/\# include <malloc\/malloc.h>/\/*\# include <malloc\/malloc.h> \*\//' {} \;
find . -type f -exec sed -i '' 's/\# include <malloc.h>/\/*\# include <malloc.h> \*\//' {} \;
find . -type f -exec sed -i '' 's/\#include <sys\/malloc.h>/\/*\# include <sys\/malloc.h> \*\//' {} \;
"
Then I run the configure script (configure.wrf is attached).
Finally, I run "./compile em_real >& log.compile" (log.compile is attached).
Notable errors are:
"
/usr/libexec/binutils227/elf/ar: rsl_malloc.o: No such file or directory
*** [librsl_lite.a] Error code 1 (ignored)
/usr/libexec/binutils227/elf/ranlib: '/home/marto/WRF/Build_WRF/WRF/external/RSL_LITE/librsl_lite.a': No such file
"
and
"
sed: module_model_constants.F: No such file or directory
Fatal Error: Cannot open module file 'module_model_constants.mod' for reading at (1): No such file or directory
"
I am looking forward to your reply.
Best regards,
Martin
I am following https://www2.mmm.ucar.edu/wrf/OnLineTut ... torial.php to compile WRF Model Version 4.2 on my x86_64 BSD machine with mpich, gfortran and gcc. I am running DragonFly-5.8.1 on an ASUS ZENBOOK PRO I7-7700HQ/16GB/512GB SSD BLACK, Notebook mit 15,6 inch Display, Core i7 Processor, 16 GB RAM, 512 GB SSD, GeForce GTX1050. My plan is to compile and run WRF locally on this machine with MPICH. More info on my compilers and hardware is available in my previous post on the configure options: https://forum.mmm.ucar.edu/phpBB3/viewtopic.php?f=37&t=9090.
Before configure and compile, I comment all includes of malloc.h like this, as I was advised in a BSD forum:
"
find . -type f -exec sed -i '' 's/\#include <malloc.h>/\/*\#include <malloc.h> \*\//' {} \;
find . -type f -exec sed -i '' 's/\# include <malloc.h>/\/*\# include <malloc.h> \*\//' {} \;
find . -type f -exec sed -i '' 's/\# include <malloc\/malloc.h>/\/*\# include <malloc\/malloc.h> \*\//' {} \;
find . -type f -exec sed -i '' 's/\# include <malloc.h>/\/*\# include <malloc.h> \*\//' {} \;
find . -type f -exec sed -i '' 's/\#include <sys\/malloc.h>/\/*\# include <sys\/malloc.h> \*\//' {} \;
"
Then I run the configure script (configure.wrf is attached).
Finally, I run "./compile em_real >& log.compile" (log.compile is attached).
Notable errors are:
"
/usr/libexec/binutils227/elf/ar: rsl_malloc.o: No such file or directory
*** [librsl_lite.a] Error code 1 (ignored)
/usr/libexec/binutils227/elf/ranlib: '/home/marto/WRF/Build_WRF/WRF/external/RSL_LITE/librsl_lite.a': No such file
"
and
"
sed: module_model_constants.F: No such file or directory
Fatal Error: Cannot open module file 'module_model_constants.mod' for reading at (1): No such file or directory
"
I am looking forward to your reply.
Best regards,
Martin