Error compiling era52arl.f: Invalid character in name at (1)

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
Post Reply
dominichr1
Posts: 7
Joined: May 24th, 2022, 9:49 am
Registered HYSPLIT User: Yes

Error compiling era52arl.f: Invalid character in name at (1)

Post by dominichr1 »

I am running Ubuntu on windows. I am trying to compile the latest eara5arl.f, using the following code:

Code: Select all

gcc -o era52arl.exe era52arl.f

Code: Select all

gfortran -o era52arl era52arl.f

Code: Select all

gfortran -o era52arl.exe era52arl.f
However, I get the error 'Error: Invalid character in name at (1)', 'Error: Invalid character in statement label at (1)'

I have no experience with Fortran.

Kind regards,

Dominic
sonny.zinn
Posts: 354
Joined: May 8th, 2019, 1:31 pm
Registered HYSPLIT User: Yes

Re: Error compiling era52arl.f: Invalid character in name at (1)

Post by sonny.zinn »

Please refer to viewtopic.php?f=14&t=2141 and create a Makefile.inc file using the template provided in the post.
Post Reply

Return to “Conversion programs”