jordan2008
Programmer
Hi all
Am new to fortran and to this wonderful form, this is my first post! I have one driver f90 file and a module SAMPLE1.f90. both in the same directory, all in windows i.e. PC am not working with unix or linux. When I compile the driver I get the following error message:
Error: Error in opening the Library module file. [SAMPLE1]
USE SAMPLE1
How can I fix this problem. May be someone can guide me how to fix it in CVF.
Thank you for your assistant and consideration.
The FILES.
1)
Driver File:
PROGRAM test
USE SAMPLE1
IMPLICIT NONE
save
DO I = 1,5
K(I) = 2*I
print*,i, k(i)
END DO
END PROGRAM test
******************************************************
2) the module file (the file which is in the directory)
MODULE SAMPLE1
USE IFPORT
IMPLICIT NONE
INTEGER, DIMENSION (10) :: K
INTEGER :: I
END MODULE SAMPLE1
Am new to fortran and to this wonderful form, this is my first post! I have one driver f90 file and a module SAMPLE1.f90. both in the same directory, all in windows i.e. PC am not working with unix or linux. When I compile the driver I get the following error message:
Error: Error in opening the Library module file. [SAMPLE1]
USE SAMPLE1
How can I fix this problem. May be someone can guide me how to fix it in CVF.
Thank you for your assistant and consideration.
The FILES.
1)
Driver File:
PROGRAM test
USE SAMPLE1
IMPLICIT NONE
save
DO I = 1,5
K(I) = 2*I
print*,i, k(i)
END DO
END PROGRAM test
******************************************************
2) the module file (the file which is in the directory)
MODULE SAMPLE1
USE IFPORT
IMPLICIT NONE
INTEGER, DIMENSION (10) :: K
INTEGER :: I
END MODULE SAMPLE1