I followed the instructions for compiling WRFSI on a Sun workstation given in the post, "Problems installing WRFSI on Sun machine" under the forum, "WRF Standard Initialization" originally posted by pshafer after encountering the same problems. I found that those instructions allowed me to compile, but WRFSI would not run. Specifically, when I tried to run the Perl script:
"./window_domain_rt.pl -w wrfsi -t $INSTALLROOT/templates/hampton -c -s $SOURCE_ROOT"
I got the error:
ld.so.1: a.out: fatal: libucb.so.1: open failed: No such file or
> directory Killed.
I found on a Solaris user forum and confirmed by Wrfhelp that I can issue the command:
setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib:/usr/ucblib
to get around this problem. But, then I get the error:
"ERROR in getting domain name from
/disk-c/kovacs/WRFV2/wrfsi/domains/hampton/static/
Error returned from find_domain_name
Error returned: get_config
I traced the error back to getfilenames_c.c. Apparently, according to Wrfhelp sun does not have the library dirent.h. So, the following fixed the problem:
Comment out or erase the line, #include <dirent.h>
Add, the line #include "/usr/ucbinclude/sys/dir.h"
Change the line struct dirent **namelist; to struct direct **namelist;
And if you added it, remove the line extern int alphasort ();