Stephni Posted April 17, 2009 Report Share Posted April 17, 2009 Hi guys I have a code written by fortran 77, it has been working fine, but after I add some changes. I had comiled and does not give me any error messages, but when had the command ./a.out to display the results, it says killed, and I do not have no idea what this means. please help me out Quote Link to comment Share on other sites More sharing options...
daniewicz Posted April 18, 2009 Report Share Posted April 18, 2009 what changes did you add? can you still compile and run the original code? Quote Link to comment Share on other sites More sharing options...
Stephni Posted April 24, 2009 Author Report Share Posted April 24, 2009 Thanks, I work it out, do anyone know how to zip files in Linux and windows, also small question in presentation with LaTex, what is the command to add the slide number, e.g (1/25) Quote Link to comment Share on other sites More sharing options...
tux99 Posted April 25, 2009 Report Share Posted April 25, 2009 to zip files use 'zip'! for example: zip -r foo.zip foo this will zip up the directory foo and all its contents into foo.zip Quote Link to comment Share on other sites More sharing options...
Stephni Posted May 1, 2009 Author Report Share Posted May 1, 2009 I am disperte for help, I have produced plot by GNUPLOT , set terminal postscript set output "figure.png" but when I tried to insert them in presentation file(poster), it appears the postscripts lines not the figure please help me out Quote Link to comment Share on other sites More sharing options...
neddie Posted May 1, 2009 Report Share Posted May 1, 2009 What's that got to do with "Fortran 77 program" ??? :huh: It doesn't help to ask questions about zipping and latex and gnuplot in a "fortran 77" thread! But to answer your question, you just told it to output a postscript file and call it "figure.png". So that's what it did. If you want a png file, use "set terminal png". Quote Link to comment Share on other sites More sharing options...
Greg2 Posted May 2, 2009 Report Share Posted May 2, 2009 What's that got to do with "Fortran 77 program" ??? :huh: It doesn't help to ask questions about zipping and latex and gnuplot in a "fortran 77" thread!Agreed. This is not the way to get help here. Stephni- Please let us know when your problems are resolved so we can mark the thread solved. Then when you have another question you can start a new thread with that title. This method will get you more help on this forum. :) Quote Link to comment Share on other sites More sharing options...
Stephni Posted May 3, 2009 Author Report Share Posted May 3, 2009 You are absolutely right guys, just my thought was to reduce my space and put everything in one thread, so I can say all my current questions are resolved aprt from the Latex question, so I will put it in separate thread Quote Link to comment Share on other sites More sharing options...
Stephni Posted May 14, 2009 Author Report Share Posted May 14, 2009 can anyone help me out in ......how to read a specific column id data file in FORTRAN 77, let say I have a data file of 5 columns , I need to read the third column....... Quote Link to comment Share on other sites More sharing options...
neddie Posted May 14, 2009 Report Share Posted May 14, 2009 I guess it depends whether you know how wide the columns are. Are they fixed width, or variable width? If they're fixed, you can just cut them with the substring function, or use the READ command. If not then you'll either need to use regular expressions or a more basic search function... Quote Link to comment Share on other sites More sharing options...
Stephni Posted May 15, 2009 Author Report Share Posted May 15, 2009 THanks for your help.......can I put the body of subroutine in separate file, and in the main program just write include 'subroutine_name.f' the same of including the numerical recipes... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.