Hello!
I'm trying to use a subprogram from the Starlink Project - Lucy in the library KAPPA - that is already installed and compiled. The idea is to be able to call it from my fortran routine.
Something like this:
Is that possible?
If so, how should I compile the file (using gfortran)?
Many thanks in advance!
I'm trying to use a subprogram from the Starlink Project - Lucy in the library KAPPA - that is already installed and compiled. The idea is to be able to call it from my fortran routine.
Something like this:
Code:
PROGRAM ex
INTEGER i
REAL in(10),psf(10),out(10)
DO i =1,10
in(i) = rand()
psf(i) = rand()
ENDDO
lucy in psf out
WRITE(*,*)out
END
Is that possible?
If so, how should I compile the file (using gfortran)?
Many thanks in advance!