OnThePROwL02 Veteran 130 Posts user info edit post |
So its been a while since I had CSC 112 and was wondering if anyone could run through the basic steps of compiling a program from an off campus computer. I vaguely remember having to use puTTy or WinSCP but haven't been able to figure it out as of yet. Thanks 8/21/2011 12:08:35 PM |
A Tanzarian drip drip boom 10995 Posts user info edit post |
http://www.eos.ncsu.edu/remoteaccess/ 8/21/2011 1:16:16 PM |
OnThePROwL02 Veteran 130 Posts user info edit post |
i figured out how to add the compiler to my terminal, but still lost on actually compiling the file. Ex: Can I write the program as a text file and then try to compile it? 8/21/2011 2:09:37 PM |
A Tanzarian drip drip boom 10995 Posts user info edit post |
I've never used fortran and I'm no longer a student, so I can't ssh in to play with it. But...
I can almost guarantee that the answer to your question is yes.
What compiler are you using? 8/21/2011 4:34:51 PM |
OnThePROwL02 Veteran 130 Posts user info edit post |
using the nagf95 that's on the linux comps on campus. i gave up on trying to do it, ill just use the nEdit in the terminal but thanks anyways. 8/21/2011 6:12:50 PM |
A Tanzarian drip drip boom 10995 Posts user info edit post |
Here's the documentation for your compiler:
http://www.nag.co.uk/numeric/FL/FLdocumentation.asp
Nedit is a text editor. You're saving text files. 8/21/2011 6:27:59 PM |
simonn best gottfriend 28968 Posts user info edit post |
yes, you're going to compile a text file. 8/21/2011 9:09:51 PM |
OnThePROwL02 Veteran 130 Posts user info edit post |
correct but without the .txt 8/22/2011 5:05:15 PM |
Wraith All American 27257 Posts user info edit post |
You cannot compile a .txt file as fortran code. It has to be .f95 for the nagf95 compiler to work.
f95 filename.f95 a.out
OR
f95 -o executable_name filename.f95
to make an executable 8/22/2011 5:25:56 PM |
aaronburro Sup, B 53062 Posts user info edit post |
you poor bastard. what do you need FORTRAN for today? lol. oh, I heard FORTRAN now has Object-Oriented shit in it. I loled 8/22/2011 7:02:21 PM |
simonn best gottfriend 28968 Posts user info edit post |
fortran's the best dude. what's your beef w/ it? it's a simple language to write and it runs fast fast. 8/22/2011 7:41:09 PM |
OnThePROwL02 Veteran 130 Posts user info edit post |
its terrible but we're using it in CE 339. i thought i had finished it up two years ago, no such luck. 8/22/2011 10:03:03 PM |