megan_bio_emiss.inp is missing

232 views
Skip to first unread message

elham baranizadeh

unread,
Mar 27, 2018, 7:03:24 PM3/27/18
to wrf-chem-bio_emiss
Hi MEGAN,
I built the executable megan_bio_emiss but to creat wrfbiochemi_d0x file there is no megan_bio_emiss.inp in the data that I downloaded and untar.

1.) there is  a bio_emiss.f90 ; I edited the wrf_dir, megan_dir_ etc in this fortran file

2.) I created a megan_bio_emiss.inp myself as follows:

&control
domains = 1,
start_lai_mnth = 2,
end_lai_mnth   = 3,
wrf_dir   = '../run',
megan_dir = '/home/eb/archive/MEGAN/MEGAN_Data'

Then I did  ./megan_bio_emiss < megan_bio_emiss.inp > megan_bio_emiss.log BUT I DON'T GET ANY OUTPUT OR WHATSOEVER- nothing  written in the log file either. any help would be highly appreciated.

Elham

Stacy Walters

unread,
Mar 27, 2018, 9:06:47 PM3/27/18
to elham baranizadeh, wrf-chem-bio_emiss
Elham,

Could you just run the megan_bio_emiss < megan_bio_emiss.inp and see what if anything
is sent to the screen as output?

Stacy

elham baranizadeh

unread,
Mar 28, 2018, 1:18:15 AM3/28/18
to Stacy Walters, wrf-chem-bio_emiss
Hi Stacy,
Thanks for the prompt reply. 

I did what you asked but still nothing printed on the screen either.

Elham

Guido Conto Echeverria

unread,
Mar 28, 2018, 9:48:58 AM3/28/18
to elham baranizadeh, Stacy Walters, wrf-chem-bio_emiss
Hi Elham,

I have installed MEGAN successfully, so I will try to explain to you.

I changed the make_util, because initially I couldn't to obtain megan_bio_emiss.exe, so in adjunct file I leave it and additionally the namelist and output files too. 

You can check that and prove it.
Let me know if you can do it...

Regards,


Saludos,

Guido Conto Echeverria
Becario doctoral FONCYT
Departamento de Fisicoquímica
FCQ-UNC


Profesional Químico
Egresado de: Universidad del Atlántico
Matricula profesional: PQ-5535
Cel: (+54) 351-301-9553
Tel: (+54) 351 5353866 int: 53539
email:
 gcontoec...@gmail.com
De: Barranquilla, Colombia

"Un Ganador, es un soñador que nunca se rinde"


--
You received this message because you are subscribed to the Google Groups "wrf-chem-bio_emiss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrf-chem-bio_emiss+unsub...@ucar.edu.

megan_bio_emiss.out
megan_bio_emiss.inp
make_util

Stacy Walters

unread,
Mar 28, 2018, 10:56:45 AM3/28/18
to Guido Conto Echeverria, elham baranizadeh, wrf-chem-bio_emiss
Guido,

I'm afraid I can't fully understand what you did to resolve your problem
with building the megain_bio_emiss utility.   Exactly what files do you
modify?  Could you send an email that has as attachments all files
you modified?

Stacy

On Wed, Mar 28, 2018 at 6:48 AM, Guido Conto Echeverria <gcontoec...@gmail.com> wrote:
Hi Elham,

I have installed MEGAN successfully, so I will try to explain to you.

I changed the make_util, because initially I couldn't to obtain megan_bio_emiss.exe, so in adjunct file I leave it and additionally the namelist and output files too. 

You can check that and prove it.
Let me know if you can do it...

Regards,


Saludos,

Guido Conto Echeverria
Becario doctoral FONCYT
Departamento de Fisicoquímica
FCQ-UNC


Profesional Químico
Egresado de: Universidad del Atlántico
Matricula profesional: PQ-5535
Cel: (+54) 351-301-9553

email: gcontoecheverria@gmail.com
De: Barranquilla, Colombia

To unsubscribe from this group and stop receiving emails from it, send an email to wrf-chem-bio_emiss+unsubscribe@ucar.edu.


Stacy Walters

unread,
Mar 28, 2018, 11:00:44 AM3/28/18
to elham baranizadeh, wrf-chem-bio_emiss
Elham,

When you run the program do you manually have to "kill" the run?
Since we have never run into this problem would it be possible
for me to have a temporary account on the machine where you
try to run megan_bio_emiss?

Stacy

elham baranizadeh

unread,
Mar 28, 2018, 11:06:01 AM3/28/18
to Stacy Walters, Guido Conto Echeverria, wrf-chem-bio_emiss
Thanks Guido,
The megan_bio_emiss is built successfully, so I think my make_util is ok (I was however faced with an error which I solved with switching -lnetcdff and -lnetcdf places). 
And I suppose the idea of having the .inp file is giving the wrfinput_d01 file and megan data path which I have done.

Thanks anyway!

elham baranizadeh

unread,
Mar 28, 2018, 12:34:25 PM3/28/18
to Guido Conto Echeverria, Stacy Walters, wrf-chem-bio_emiss
Guido,

I just used your make_util and megan_bio_emiss is running ok (at least by now, I'll take a while). I wonder what's the difference between my make_util and yours, I'll try to find out and keep the group updated. Anyway Thanks so much Guiodo and Stacy for your prompt communications.

Elham 

On Wed, Mar 28, 2018 at 6:48 AM, Guido Conto Echeverria <gcontoec...@gmail.com> wrote:
Hi Elham,

I have installed MEGAN successfully, so I will try to explain to you.

I changed the make_util, because initially I couldn't to obtain megan_bio_emiss.exe, so in adjunct file I leave it and additionally the namelist and output files too. 

You can check that and prove it.
Let me know if you can do it...

Regards,


Saludos,

Guido Conto Echeverria
Becario doctoral FONCYT
Departamento de Fisicoquímica
FCQ-UNC


Profesional Químico
Egresado de: Universidad del Atlántico
Matricula profesional: PQ-5535
Cel: (+54) 351-301-9553

email: gcontoecheverria@gmail.com
De: Barranquilla, Colombia

To unsubscribe from this group and stop receiving emails from it, send an email to wrf-chem-bio_emiss+unsubscribe@ucar.edu.


elham baranizadeh

unread,
Mar 28, 2018, 1:26:44 PM3/28/18
to Guido Conto Echeverria, Stacy Walters, wrf-chem-bio_emiss
Ok. So the problem is related to the fact that -lnetcdff must come before -lnetcdf for which we had different approaches which I still don't know why it doesn't result in the same thing (i.e. having -lnetcdff first). 
###################################################
!My Solution:

set ar_libs = -lnetcdff 
if( -e ${NETCDF_DIR}/lib/libnetcdff.a ) then
  #  set ar_libs = "${ar_libs} -lnetcdff" #commented out by Elham
  set ar_libs = "${ar_libs} -lnetcdf"
endif
###################################################
!Guido's solution (which is working):

set ar_libs = -lnetcdf
if( -e ${NETCDF_DIR}/lib/libnetcdff.a ) then
#  set ar_libs = "${ar_libs} -lnetcdff"  #existe un problema con el orden de las librerias en el código
  set ar_libs = "-lnetcdff ${ar_libs}"
endif
##################################################


Best,
Elham

Stacy Walters

unread,
Mar 28, 2018, 1:33:27 PM3/28/18
to elham baranizadeh, Guido Conto Echeverria, wrf-chem-bio_emiss
Elham,

Thanks for the feedback.  The "standard" netcdf installation should have both libnetcdff.a and libnetcdf.a.
However, some of the time the installation results in only the libnetcdf.a library.  Guido's solution
is a good approach and I'll investigate incorporating it in future updates.

Stacy

Guido Conto Echeverria

unread,
Mar 28, 2018, 2:50:02 PM3/28/18
to Stacy Walters, elham baranizadeh, wrf-chem-bio_emiss
Dear,

Stacy

In the modification was switched -lnetcdff and -lnetcdf, (as Elham quoted, I shared my make_util in my before mail).  Other solution is run de megan_bio_emiss with other compiler (I don't know why), but I am using fortran compiler, so I had changing the places in make_util, in that I spent a lot time (because the first thing that think is in my system, so I think I have any wrong), also that do it with anthro_emiss and fire_emiss, then running it was very easy. I am glad to be making my contribution.

Elham, I am glad that you have achieved the running successfully.

Regards,  

Saludos,

Guido Conto Echeverria
Becario doctoral FONCYT
Departamento de Fisicoquímica
FCQ-UNC


Profesional Químico
Egresado de: Universidad del Atlántico
Matricula profesional: PQ-5535
Cel: (+54) 351-301-9553

email: gcontoec...@gmail.com
De: Barranquilla, Colombia

"Un Ganador, es un soñador que nunca se rinde"

Reply all
Reply to author
Forward
0 new messages