Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
When I compile a .for fortran program in my centos 6.7 with gfortran compiler, the error that "Too many arguments in call to **** at (1)" always appear. However, the number of arguments in the subroutine when calling is same with the number when the subroutine is defined, so I am quite confused and do not know how to deal with this problem. Could anyone help me with this?
I think I have a hint. I tried to compile the program as well, with the same error message (the subroutine in question is DTIME).
After uncommenting DTIME from the code, the same error message is issued. The compiler doesn't complain that DTIME is missing.
After replacing the name of this subroutine with blabla, compilation proceeds.
So, your error is most probably provoked by a library function DTIME that "masks" the subroutine DTIME in your source code. How to handle this best, I can't say, but renaming DTIME certainly works.
Note that I get another error message about a missing right parenthesis; perhaps because the parenthesis is too far on the right? I faintly remember that Fortran code lines mustn't be longer than seventysomething characters. Perhaps the GNU Fortran compiler has an option for that.
Last edited by berndbausch; 12-15-2015 at 01:10 AM.
I remember it was so that the last eight positions on a punch card could be used for numbering the cards. In case you fell down the stairs with a pack of cards in your hands, there were machines that could sort them. Not so much of an issue anymore nowadays.
Hi, I'm sorry for the delayed answer. It is exciting find a person who work in the same CTW model!, I'm from Chile, I hope we can share the experience with the model (Or if you know a forum of this topic I'd appreciated that info! ). I run the CTW model too. For this questions it worked for me: "gfortran -ffixed-line-length-0 BIGLOAD4_26113.FOR -o BIGLOAD4_26113.out"