- #1
jcang
- 2
- 0
Salford fortran library compiler error??
Dear all,
I have install the NAG fortran library, firstly, I compile the fortran program by using the
Salford Fortran compiler with NAG static Lib. Command Prompt
by typing
ftn95 -c ProgramName.f95
It got a few warning, not error. But I think those warning would not effect on the result.
After that, I try to run this program by typing:
ftn95 ProgramName.f95 -o H.exe
But it occur:
***More than one source file specified
1 error [ProgramName.f95] - Compilation failed.
What error is this?
And How can i solve it?
Thanks for any reply.
Dear all,
I have install the NAG fortran library, firstly, I compile the fortran program by using the
Salford Fortran compiler with NAG static Lib. Command Prompt
by typing
ftn95 -c ProgramName.f95
It got a few warning, not error. But I think those warning would not effect on the result.
After that, I try to run this program by typing:
ftn95 ProgramName.f95 -o H.exe
But it occur:
***More than one source file specified
1 error [ProgramName.f95] - Compilation failed.
What error is this?
And How can i solve it?
Thanks for any reply.