Author |
Message |
Topic: Fortran code does not compile (modules do not compile) |
jcgalvez713
Replies: 8
Views: 10220
|
Forum: Support Posted: Sun Feb 03, 2013 8:44 pm Subject: |
Then, in that case where I can compile separately, do I first compile the modules, and compile the main program after? I tried to do that, and I still ran into problems since it tells me that the modu ... |
Topic: Fortran code does not compile (modules do not compile) |
jcgalvez713
Replies: 8
Views: 10220
|
Forum: Support Posted: Sun Feb 03, 2013 11:12 am Subject: |
What you mean is, instead of me writing them as separate modules, I put everything that I wrote in the main source code before the main program? Like this?
MODULE XXXXX
[STATEMENTS]
END MODULE XX ... |
Topic: Fortran code does not compile (modules do not compile) |
jcgalvez713
Replies: 8
Views: 10220
|
Forum: Support Posted: Sat Feb 02, 2013 5:41 pm Subject: |
Hence, what you mean is that before I begin with the main program, I have to put the use above main program? |
Topic: Fortran code does not compile (modules do not compile) |
jcgalvez713
Replies: 8
Views: 10220
|
Forum: Support Posted: Sat Feb 02, 2013 5:37 pm Subject: |
Actually the main code of the program is like this:
program main
use global_variable ! Define the global parameters that will be used in this project
use functions ! Defin ... |
Topic: Fortran code does not compile (modules do not compile) |
jcgalvez713
Replies: 8
Views: 10220
|
Forum: Support Posted: Sat Feb 02, 2013 4:13 pm Subject: Fortran code does not compile (modules do not compile) |
Hi everyone,
My classmate and I are working with Fortran to do programming in numerical macro. To program, I am using Silverfrost. However, for one of our assignments, my classmate used modules. When ... |
|