Can't Locate prep_main

Forum dedicated to older versions of EMS package (WRFEMS v3.2, v3.1 or older). Support is user-to-user based, so please help others if you can.
Post Reply
SeverePlains
Posts: 14
Joined: Wed Apr 27, 2011 4:41 am

Can't Locate prep_main

Post by SeverePlains » Sun May 08, 2011 6:16 pm

I installed the latest WRF EMS version on Fedora 12 64-bit.

Installation goes through with success, the only error I receive was a missing GEMPAK library (which I do believe I have anyway). However, it also does indicate it failed RIP routines, then continues to say I'm good to go regardless...

Here is the error I receive when going to run the benchmark:

Code: Select all

Can't locate prep_main.pm in @INC (@INC contains: wrf/wrfems/strc/ems_util wrf/wrfems/strc/ems_prep /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at ems_prep line 24.
BEGIN failed--compilation aborted at ems_prep line 24.

I did a manual check to see if the file was there, sure enough it is located in the /wrfems/strc/ folder.

Any ideas?

SeverePlains
Posts: 14
Joined: Wed Apr 27, 2011 4:41 am

Re: Can't Locate prep_main

Post by SeverePlains » Sun May 08, 2011 7:04 pm

I've been doing some more research into what could be causing the problem...

I'm wondering if something in the EMS environments isn't working properly. I can run the command cd $EMS fine, however when I attempt the ls $EMS_STRC it does not work! I suppose when the ems_prep is using the environment to find the correct folder it isn't finding it and therefore doesn't find the prep_main script.

When I installed I installed under the main user (named gempak) and under a file structure:

/home/gempak/wrf/wrfems/

Could it being something with not being under the root user? (gempak user is the main user and should have all permissions)

meteoadriatic
Posts: 1602
Joined: Wed Aug 19, 2009 10:05 am

Re: Can't Locate prep_main

Post by meteoadriatic » Sun May 08, 2011 8:05 pm

Again environment problems. I really don't know why you guys have these issues, that never happened to me.

What this command outputs?

Code: Select all

env | grep EMS
It should be:

Code: Select all

wrf@coldplug-> env | grep EMS
EMS=/home/wrf/wrfems
EMS_HOME=/home/wrf/wrfems
EMS_BIN=/home/wrf/wrfems/bin
EMS_DATA=/home/wrf/wrfems/data
EMS_STRC=/home/wrf/wrfems/strc
EMS_RUN=/home/wrf/wrfems/runs
EMS_UTIL=/home/wrf/wrfems/util
EMS_DOCS=/home/wrf/wrfems/docs
EMS_LIB=/home/wrf/wrfems/lib
EMS_LOGS=/home/wrf/wrfems/logs
EMS_CONF=/home/wrf/wrfems/conf
EMS_MPI=/home/wrf/wrfems/util/mpich2
EMS_NCL=/home/wrf/wrfems/util/graphics/ncl
wrf@coldplug->
Look at this thread... this user still didn't come with conclusion:
viewtopic.php?f=4&t=178

SeverePlains
Posts: 14
Joined: Wed Apr 27, 2011 4:41 am

Re: Can't Locate prep_main

Post by SeverePlains » Sun May 08, 2011 8:41 pm

Here is what I get, appears very similar:

Code: Select all

EMS=wrf/wrfems
EMS_STRC=wrf/wrfems/strc
EMS_LOGS=wrf/wrfems/logs
EMS_UTIL=wrf/wrfems/util
EMS_LIB=wrf/wrfems/lib
EMS_DATA=wrf/wrfems/data
EMS_DOCS=wrf/wrfems/docs
EMS_CONF=wrf/wrfems/conf
EMS_NCL=wrf/wrfems/util/graphics/ncl
EMS_MPI=wrf/wrfems/util/mpich2
EMS_HOME=wrf/wrfems
EMS_BIN=wrf/wrfems/bin
EMS_RUN=wrf/wrfems/runs
Again, the cd $EMS works, however beyond that they don't seem to work.

SeverePlains
Posts: 14
Joined: Wed Apr 27, 2011 4:41 am

Re: Can't Locate prep_main

Post by SeverePlains » Sun May 08, 2011 9:51 pm

I seem to have solved my own problem. I had to do some adjusting on the installation location and where the .cshrc file actually pointed too... Now all of the environmental commands work perfect!

Now, my next problem... :(

Post Reply