Hi. Please pardon me if this is not a very relevant topic here. I just thought someone might help out.
I have a slight problem linking my f90 code now on my linux ubuntu 11.10 system. Compiling procedes well. However, when linking, an error message is
generated. This started after I installed some updates on my system.
Example: I have the two source files
subroutine : Jacobian.f90
program(main) : test_Jacobian.f90
compiling command/sequence : gfortran -c Jacobian.f90
gfortran -c test_Jacobian.f90
linking : gfortran -o jacobian test_Jacobian.o Jacobian.o
But I find that when combining both compilation and linking in
gfortran -o jacobian test_Jacobian.f90 Jacobian.f90
produces the executable ("jacobian" in his case here). However,
this is not my preferred option of coming up with the executable
because I use a makefile which carries out the compiling and
linking explicitly. So this might limit me somehow.
I have a slight problem linking my f90 code now on my linux ubuntu 11.10 system. Compiling procedes well. However, when linking, an error message is
generated. This started after I installed some updates on my system.
Example: I have the two source files
subroutine : Jacobian.f90
program(main) : test_Jacobian.f90
compiling command/sequence : gfortran -c Jacobian.f90
gfortran -c test_Jacobian.f90
linking : gfortran -o jacobian test_Jacobian.o Jacobian.o
But I find that when combining both compilation and linking in
gfortran -o jacobian test_Jacobian.f90 Jacobian.f90
produces the executable ("jacobian" in his case here). However,
this is not my preferred option of coming up with the executable
because I use a makefile which carries out the compiling and
linking explicitly. So this might limit me somehow.