Page 1 of 1

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

Posted: November 10th, 2022, 11:24 am
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

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

Posted: November 14th, 2022, 8:14 am
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.