| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Sorry, I am a complete novice but when I try to run gfortran (/usr/ local/bin/gfortran) it says I have no input files on my MacBook and then says I need a different library (7.0.0 when I have 5.0.0 on mine now) for my G3. Does anyone know what is going on? Please help. Thanks |
|
#2
| |||
| |||
| > Sorry, I am a complete novice but when I try to run gfortran (/usr/ > local/bin/gfortran) it says I have no input files on my MacBook and This is normal: gfortran is a compiler that makes object code (or even an executable) for a given input file (or multiple input files). If you don't give it an input file (your fortran source code) as parameter on the commandline, then gfortran doen not know which sourcefile to compile and complains about this. Call: gfortran test.f90 where test.f90 is the file containing your source code, and the first problem is solved! Did yuo perhaps just double-click on the gfortran icon? That will not work. To pass arguements to the compiler you'll have to call it from a shell. > then says I need a different library (7.0.0 when I have 5.0.0 on mine > now) for my G3. Does anyone know what is going on? Please help. Thanks No idea. Sorry. I use MinGW/MSYS on a Windows box... Arjan |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.