Hello,
I have a similar problem. My output is:
dos2unix: Unable to access file "Makefile".
Building fcsubs library
Building hysplit source library
Building lbfgsb source library
Building exec directory programs
Building the ascii2shp converter
Building the dbf editor
Building the WRF-ARW decoder (requires export NetCDF lib/include)
ERROR
I don't know why doesn't work. I don't know why dos2unix is unable to acces file Makefile.
What should I check in "exec" folder?
Thank you!
Problem on compiling the hysplit Linux version
-
- Posts: 660
- Joined: November 7th, 2012, 3:14 pm
- Registered HYSPLIT User: Yes
Re: Problem on compiling the hysplit Linux version
Please check in your exec directory. You should have most of the required hysplit programs compiled.
The ERROR message comes from the NetCDF libraries that are required to compile the arw2arl program (converter from WRF to ARL format). If you need that utility you will have to install the NetCDF libraries and edit the makefile located in data2arl/arw2arl/ to point to the directory where you have the NetCDF libraries installed.
The ERROR message comes from the NetCDF libraries that are required to compile the arw2arl program (converter from WRF to ARL format). If you need that utility you will have to install the NetCDF libraries and edit the makefile located in data2arl/arw2arl/ to point to the directory where you have the NetCDF libraries installed.
Re: Problem on compiling the hysplit Linux version
I'm having problems compiling again. I have done the same changes as before where I change the compiler and right the correct path to the netcdf files. This time I get an error like this:
dos2unix: converting file smkrun.sh to UNIX format ...
Building fcsubs library
Building hysplit source library
Building lbfgsb source library
Building exec directory programs
ERROR
In the Makefile in the exec directory I changed the FC and CFLAGS variables from GFOR to INTL. Is there anything else I should change in the Makefile in the exec directory?
Here is the bottom of the compiler log:
lbfgsb.f:(.text+0xbbfa): undefined reference to `_gfortran_st_write'
lbfgsb.f:(.text+0xbc09): undefined reference to `_gfortran_st_write_done'
../library/liblbfgsb.a(lbfgsb.o): In function `dcsrch_':
lbfgsb.f:(.text+0xbc6a): undefined reference to `_gfortran_compare_string'
lbfgsb.f:(.text+0xc01b): undefined reference to `_gfortran_compare_string'
lbfgsb.f:(.text+0xc612): undefined reference to `_gfortran_compare_string'
lbfgsb.f:(.text+0xc635): undefined reference to `_gfortran_compare_string'
../library/liblbfgsb.a(timer.o): In function `timer_':
timer.f:(.text+0x2e): undefined reference to `_gfortran_cpu_time_4'
make: *** [lbfgsb] Error 1
Help is greatly appreciated.
- Kristine
dos2unix: converting file smkrun.sh to UNIX format ...
Building fcsubs library
Building hysplit source library
Building lbfgsb source library
Building exec directory programs
ERROR
In the Makefile in the exec directory I changed the FC and CFLAGS variables from GFOR to INTL. Is there anything else I should change in the Makefile in the exec directory?
Here is the bottom of the compiler log:
lbfgsb.f:(.text+0xbbfa): undefined reference to `_gfortran_st_write'
lbfgsb.f:(.text+0xbc09): undefined reference to `_gfortran_st_write_done'
../library/liblbfgsb.a(lbfgsb.o): In function `dcsrch_':
lbfgsb.f:(.text+0xbc6a): undefined reference to `_gfortran_compare_string'
lbfgsb.f:(.text+0xc01b): undefined reference to `_gfortran_compare_string'
lbfgsb.f:(.text+0xc612): undefined reference to `_gfortran_compare_string'
lbfgsb.f:(.text+0xc635): undefined reference to `_gfortran_compare_string'
../library/liblbfgsb.a(timer.o): In function `timer_':
timer.f:(.text+0x2e): undefined reference to `_gfortran_cpu_time_4'
make: *** [lbfgsb] Error 1
Help is greatly appreciated.
- Kristine
-
- Posts: 362
- Joined: November 7th, 2012, 1:39 pm
- Registered HYSPLIT User: Yes
Re: Problem on compiling the hysplit Linux version
You also need to change the Makefile in the library/hysplit and /library/lbfgsb directories to use the Intel Fortran.