Fortran How to Compile Fortran Code on Mac and Unix Systems?

AI Thread Summary
The discussion centers on issues encountered when compiling Fortran code files on different operating systems. The user successfully compiles and runs the code on Windows XP using gfortran but faces errors related to structure type pointers when attempting to compile and run the same code on Mac OS X 10.6 with gfortran 4.2.1. The user seeks assistance from the community to compile these files under Unix or Mac, providing the source code files for help. The main focus is on resolving compatibility issues and errors arising from differences in how gfortran handles pointers in structure types across operating systems.
qinjie1629
Messages
2
Reaction score
0
I have several fortran code files which can be correctly compiled and run in Windows XP using gfortran. But, when I use the gfortran 4.2.1 compile these files on Mac(10.6), the code files can be compiled, but, it reports errors when I run the compiled file.

the error is related to the pointer of a structure type of data.

Can you gus compile these files for me under Unix or Mac.
 
Technology news on Phys.org
here is the source code files (4 files). anyboby help?
 

Attachments

Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...

Similar threads

Replies
5
Views
2K
Replies
1
Views
4K
Replies
3
Views
5K
Replies
8
Views
2K
Replies
2
Views
2K
Back
Top