From frits -x- at -x- rulglj.LeidenUniv.nl Mon Dec 12 11:24:32 1994 Received: from rulway.LeidenUniv.nl for frits $#at#$ rulglj.LeidenUniv.nl by www.ccl.net (8.6.9/930601.1506) id LAA10393; Mon, 12 Dec 1994 11:19:14 -0500 Received: from rulglj.LeidenUniv.nl by rulway.LeidenUniv.nl with SMTP id AA27418 (5.65c+/IDA-1.4.4 for <:~at~:RULWAY.LEIDENUNIV.NL:chemistry:~at~:ccl.net>); Mon, 12 Dec 1994 17:18:21 +0100 Received: by rulglj.LeidenUniv.nl (920330.SGI/920502.SGI) for :~at~:RULWAY.LEIDENUNIV.NL:IGOR:~at~:novelty.tau.ac.il id AA20904; Mon, 12 Dec 94 17:19:14 GMT Date: Mon, 12 Dec 94 17:19:14 GMT From: frits[ AT ]rulglj.LeidenUniv.nl (Frits Daalmans) Message-Id: <9412121719.AA20904 /at\rulglj.LeidenUniv.nl> To: "Igor - 9597" Subject: Re: CCL:"ETIME" command in LINUX (f77) Cc: frits-!at!-rulglj.leidenuniv.nl, chemistry-!at!-ccl.net (This reply does not seem to bear any direct importance to computational chemistry, but may be useful for people wanting to compile comp.chem. programs in Fortran under Linux.) Fortran compilers under Linux that I know of: - You can use the tandem: fortran code ---------------> (unreadable) C code -------------> executable f2c translator gcc compiler This is the only workable option at this time, AFAIK. Both f2c and gcc are obtainable from all main Linux ftp sites, and included in packages like the Slackware distribution. Although this route may seem cumbersome, *it works*. f2c comes with a small shellscript called f77 what does exactly what you'd expect (i.e. you don't see the intermediate C code any more). - Or, buy the NAGWare f90 compiler from the Numerical Algorithms Group; this one has been announced in the NetNews group comp.os.linux.announce recently (begin November?); I take the freedom to spread this information further. The advert said that more information can be obtained by mailing their informationdesk, infodesk.,at,.nag.com. - Or, wait for, or better still help with, the development of the Gnu g77 compiler. I don't know very much about it, except that it is not yet stable. Information can be gotten by using finger: finger fortran;at;gate.gnu.ai.mit.edu Concerning the need for some system functions that your Fortran program expects the Linux f2c library (libf2c.a or libF77.a, libI77.a) to have: If you can't find any Fortran timing routines, you can tinker around with C library functions. Those are in chapter 3 of the (online) manual. If I had time to try some compiles at home, I'd be able to give you more information :-(. I only have a general idea of some workarounds right now. Sorry. Hopefully this information is sufficiently useful to enough Computational Chemists to justify posting it here. Good luck with it, Frits Daalmans Disclaimer: all opinions stated here are mine and not necessarily those of my employer(s). Frits Daalmans OIO Conformational Analysis Gorlaeus Laboratoria Leiden, The Netherlands E-mail: frits.,at,.rulglj.leidenuniv.nl Tel: [+31] (0)71-274505