public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Stephen P. Molnar" <s.molnar@sbcglobal.net>
To: fortran@gcc.gnu.org
Subject: Several Questions.
Date: Sun, 08 Oct 2017 15:33:00 -0000	[thread overview]
Message-ID: <59DA4544.9090509@sbcglobal.net> (raw)

Question 1.  How do I join the gfortran users mailing list?

Question 2 (a tad longer than 1):

I have the source code for a fortran program that I wrote in 1996 using 
the Microsoft FORTRAN compiler that I would like to port to gfortran as 
I no linger have a copy of the Microsoft application.

I have Debian v-9.1.0 installed on my 64bit AMD platform with the 
distribution with gcc/gfortran installed.

Much to my surprise, gfortran produced an executable file with only 
correcting a couple of typographic errors.

Naturally, there were run errors:

comp@AbNormal:~/Apps/gFortran$ ./mt3dm1 B1.prn
At line 18 of file MT3DM1.FOR (unit = 1)
Fortran runtime error: Cannot open file '': No such file or directory

Error termination. Backtrace:
#0  0x7f3b14086d4a
#1  0x7f3b14087825
#2  0x7f3b14087f79
#3  0x7f3b141478fa
#4  0x7f3b14147b3d
#5  0x4023e3
#6  0x40300c
#7  0x7f3b1358b2b0
#8  0x400a19
#9  0xffffffffffffffff

Which I assumed that the source code was not linked to the necessary 
libraries.

So I tried winking with the -static switch. Again (not surprisingly) errors:

comp@AbNormal:~/Apps/gFortran$ gfortran -static -fno-align-commons 
MT3DM1.FOR -o MT3DM1s
/home/comp/Apps/psi4/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../libgfortran.a(main.o): 
In function `_gfortrani_find_addr2line':
(.text._gfortrani_find_addr2line+0xe): undefined reference to 
`__secure_getenv'
/home/comp/Apps/psi4/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../libgfortran.a(unix.o): 
In function `_gfortrani_open_external':
(.text._gfortrani_open_external+0x86): undefined reference to 
`__secure_getenv'
collect2: error: ld returned 1 exit status

Question 2 then is what's missing?

I am sure that there will be a necessary editing of in and out 
statements, but those can wait.

Thanks in advance for yer  attention.

-- 
Stephen P. Molnar, Ph.D.		Life is a fuzzy set
www.molecular-modeling.net		Stochastic and multivariate
(614)312-7528 (c)
Skype: smolnar1

             reply	other threads:[~2017-10-08 15:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-08 15:33 Stephen P. Molnar [this message]
2017-10-08 15:53 ` Paul Richard Thomas
2017-10-08 16:01 ` Steve Kargl
2017-10-08 16:46   ` Stephen P. Molnar
2017-10-08 18:54     ` Jerry DeLisle
2017-10-08 15:57 Dominique d'Humières

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59DA4544.9090509@sbcglobal.net \
    --to=s.molnar@sbcglobal.net \
    --cc=fortran@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).