Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

The program prepbufr2littleR.exe reports errors

Liuwh

New member
Completion of compilation:
[liuwenhao003@server PREPBUFR2LITTLER]$ ./compile
+ FC=gfortran
+ FLAGS=-O2
+ LIBS=-L/home/liuwenhao003/WRF_TEST/wrfda/var/external/bufr
+ gfortran -c module_type.F90
+ gfortran -c prepbufr2littleR.f90
+ gfortran -o prepbufr2littleR.exe -O2 prepbufr2littleR.o module_type.o -L/home/liuwenhao003/WRF_TEST/wrfda/var/external/bufr -lbufr

Link the observation data and name it bufrfile.
[liuwenhao003@server PREPBUFR2LITTLER]$ ll
总用量 492
lrwxrwxrwx 1 liuwenhao003 liuwenhao003 71 5月 4 14:14 bufrfile -> /home/liuwenhao003/data/wrfdart/prepbufr/prepbufr.gdas.20201201.t00z.nr
-rwxr-xr-x 1 liuwenhao003 liuwenhao003 287 5月 4 12:56 compile
-rw-r--r-- 1 liuwenhao003 liuwenhao003 11587 6月 24 2014 module_type.F90
-rw-rw-r-- 1 liuwenhao003 liuwenhao003 14423 5月 3 17:01 module_type.mod
-rw-rw-r-- 1 liuwenhao003 liuwenhao003 944 5月 4 14:33 module_type.o
-rw-r--r-- 1 liuwenhao003 liuwenhao003 83106 6月 24 2014 pbufr.table
-rwxrwxr-x 1 liuwenhao003 liuwenhao003 303024 5月 4 14:33 prepbufr2littleR.exe
-rw-r--r-- 1 liuwenhao003 liuwenhao003 29554 5月 3 17:06 prepbufr2littleR.f90
-rw-rw-r-- 1 liuwenhao003 liuwenhao003 40400 5月 4 14:33 prepbufr2littleR.o
-rw-r--r-- 1 liuwenhao003 liuwenhao003 1854 8月 3 2016 README

Running the final program results in an error:
[liuwenhao003@server PREPBUFR2LITTLER]$ ./prepbufr2littleR.exe

Reading bufr file and get inventory information, please wait for 1-2 minutes.......

At line 63 of file ifxy.f
Fortran runtime error: Bad value during integer read

Is there a problem with the config file, and is there a link to download the latest PREPBUFR2LITTLER.tar?
I downloaded it here:
 
Hello Liuwh,

It is quite difficult to diagnose the issue without any of the files. If you can please upload your config file and your error file, that would be very helpful. Since you have the prepbufr executable I would say the software built properly, however I could be missing something. I would also try not linking the bufr file and instead copying it over. I hope this helps!

Thanks,
JeremyB
 
Hello Liuwh,

It is quite difficult to diagnose the issue without any of the files. If you can please upload your config file and your error file, that would be very helpful. Since you have the prepbufr executable I would say the software built properly, however I could be missing something. I would also try not linking the bufr file and instead copying it over. I hope this helps!

Thanks,
JeremyB
Thank you very much for your reply! I have tried not linking the bufr file and instead copying it over. But it still gives the same error.
 

Attachments

  • PREPBUFR2LITTLER.zip
    167.4 KB · Views: 0
Hello Liuwh,

It is quite difficult to diagnose the issue without any of the files. If you can please upload your config file and your error file, that would be very helpful. Since you have the prepbufr executable I would say the software built properly, however I could be missing something. I would also try not linking the bufr file and instead copying it over. I hope this helps!

Thanks,
JeremyB
Just tried again and the problem has been resolved, thanks again for your reply.
 
Hello Liuwh,

It is quite difficult to diagnose the issue without any of the files. If you can please upload your config file and your error file, that would be very helpful. Since you have the prepbufr executable I would say the software built properly, however I could be missing something. I would also try not linking the bufr file and instead copying it over. I hope this helps!

Thanks,
JeremyB
I've found the problem, the compiler version used to compile WRFDA (mine is gcc 7.4.0) needs to be the same as the one used to compile PREPBUFR2LITTLER, otherwise it will compile successfully but not work.
 
Top