Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Before Xerox, five carbons were the maximum extension of anybody's ego.


devel / comp.lang.fortran / ifort installation too complicated

SubjectAuthor
* ifort installation too complicatedJames Van Buskirk
`* Re: ifort installation too complicatedJeff Ryman
 `* Re: ifort installation too complicatedJames Van Buskirk
  `* Re: ifort installation too complicatedSteve Lionel
   `* Re: ifort installation too complicatedJames Van Buskirk
    `* Re: ifort installation too complicatedJames Van Buskirk
     `* Re: ifort installation too complicatedJames Van Buskirk
      `* Re: ifort installation too complicatedSteve Lionel
       +* Re: ifort installation too complicatedFortranFan
       |`* Re: ifort installation too complicatedSteve Lionel
       | `- Re: ifort installation too complicatedFortranFan
       `* Re: ifort installation too complicatedJames Van Buskirk
        `- Re: ifort installation too complicatedSteve Lionel

1
ifort installation too complicated

<tqails$19ipb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3225&group=comp.lang.fortran#3225

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: not_valid@comcast.net (James Van Buskirk)
Newsgroups: comp.lang.fortran
Subject: ifort installation too complicated
Date: Wed, 18 Jan 2023 21:58:30 -0700
Organization: A noiseless patient Spider
Lines: 2
Message-ID: <tqails$19ipb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Jan 2023 04:58:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a6b635209b4cc3be7d4bc6639ae0ced2";
logging-data="1362731"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//M6Yl6Jkxm29pTyiyr43DaZmlDLwOLcQ="
Cancel-Lock: sha1:Wc0vYdPPguLIqtCXrtNnZqXRJBE=
X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331
Importance: Normal
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
 by: James Van Buskirk - Thu, 19 Jan 2023 04:58 UTC

A program I developed on gfortran crashes with my ancient version of
ifort. I wanted to download the free compiler but it seems to be saying
that I don't have Microsoft Visual Studio installed. I downloaded and
installed it but I get the same error on installation.

My problem is that I just want basic command-line capability to
compile with ifort just like I do for gfortran, but the instructions
have so many alternatives embedded in them that I don't really
know what other packages I should download, which version of
ifort to install, and what selections I should make when installing.
Is there an instruction set available for how to get a minimalist
installation working?

Re: ifort installation too complicated

<706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3226&group=comp.lang.fortran#3226

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:a05:622a:802b:b0:3a7:f2b0:c4c0 with SMTP id jr43-20020a05622a802b00b003a7f2b0c4c0mr498989qtb.490.1674113427128;
Wed, 18 Jan 2023 23:30:27 -0800 (PST)
X-Received: by 2002:a05:6871:288:b0:15f:43b1:1a64 with SMTP id
i8-20020a056871028800b0015f43b11a64mr952782oae.158.1674113426753; Wed, 18 Jan
2023 23:30:26 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.fortran
Date: Wed, 18 Jan 2023 23:30:26 -0800 (PST)
In-Reply-To: <tqails$19ipb$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=50.20.125.132; posting-account=5z--qAoAAACnug7j_OOF1c_Rr7Nr64Gy
NNTP-Posting-Host: 50.20.125.132
References: <tqails$19ipb$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>
Subject: Re: ifort installation too complicated
From: rymanjc@outlook.com (Jeff Ryman)
Injection-Date: Thu, 19 Jan 2023 07:30:27 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Jeff Ryman - Thu, 19 Jan 2023 07:30 UTC

On Wednesday, January 18, 2023 at 8:58:41 PM UTC-8, James Van Buskirk wrote:
> A program I developed on gfortran crashes with my ancient version of
> ifort. I wanted to download the free compiler but it seems to be saying
> that I don't have Microsoft Visual Studio installed. I downloaded and
> installed it but I get the same error on installation.
>
> My problem is that I just want basic command-line capability to
> compile with ifort just like I do for gfortran, but the instructions
> have so many alternatives embedded in them that I don't really
> know what other packages I should download, which version of
> ifort to install, and what selections I should make when installing.
> Is there an instruction set available for how to get a minimalist
> installation working?
See if this is helpful: https://community.intel.com/t5/Intel-Fortran-Compiler/The-Easy-and-Fast-Way-to-Install-JUST-Fortran-with-Intel-oneAPI/td-p/1360571

Re: ifort installation too complicated

<tqbfoe$1ic05$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3227&group=comp.lang.fortran#3227

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: not_valid@comcast.net (James Van Buskirk)
Newsgroups: comp.lang.fortran
Subject: Re: ifort installation too complicated
Date: Thu, 19 Jan 2023 06:14:42 -0700
Organization: A noiseless patient Spider
Lines: 1
Message-ID: <tqbfoe$1ic05$1@dont-email.me>
References: <tqails$19ipb$1@dont-email.me> <706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=original
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Jan 2023 13:14:54 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="07f74f4f4d0ebd6f31b0d583bc6be4fa";
logging-data="1650693"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XwfoO4sBEdVWwsd/iww21n+4C3kv4dt4="
Cancel-Lock: sha1:81iZi/nyQbrmn5B4j7pIaY5mQCg=
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
In-Reply-To: <706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>
 by: James Van Buskirk - Thu, 19 Jan 2023 13:14 UTC

"Jeff Ryman" wrote in message
news:706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com...

On Wednesday, January 18, 2023 at 8:58:41 PM UTC-8, James Van Buskirk wrote:

> > My problem is that I just want basic command-line capability to
> > compile with ifort just like I do for gfortran, but the instructions
> > have so many alternatives embedded in them that I don't really
> > know what other packages I should download, which version of
> > ifort to install, and what selections I should make when installing.
> > Is there an instruction set available for how to get a minimalist
> > installation working?

> See if this is helpful:
> https://community.intel.com/t5/Intel-Fortran-Compiler/The-Easy-and-Fast-Way-to-Install-JUST-Fortran-with-Intel-oneAPI/td-p/1360571

That is exactly the confusing page. I downloaded VisualStudioSetup.exe
and the file says it is version 17.4.33213.308 . I installed it and I seem
to have a working Microsoft Visual Studio 2022, at the least IDE started
up when I tried it.

Then I downloaded w_fortran-compiler_p_2023.0.0.25579_offline.exe
and I get a warning that my OS version is old, but this doesn't seem
fatal. But then after accepting the license agreement and choosing the
recommended installation, I get a warning that I don't have Microsoft
Visual Studio 2017, 2019, or 2022 or Microsoft Build Tools 2017, 2019,
or 2022 and that Microsoft Visual Studio 2022 does not have Desktop
development with C++ components installed.

At this point I abort installation. What am I doing wrong?

Re: ifort installation too complicated

<k2t1kjF44irU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3228&group=comp.lang.fortran#3228

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: steve@seesignature.invalid (Steve Lionel)
Newsgroups: comp.lang.fortran
Subject: Re: ifort installation too complicated
Date: Thu, 19 Jan 2023 09:15:47 -0500
Lines: 23
Message-ID: <k2t1kjF44irU1@mid.individual.net>
References: <tqails$19ipb$1@dont-email.me>
<706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>
<tqbfoe$1ic05$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net wxJ54sXFV4oM+pBQ7q61ugStoe6aq4GBBJO7AfjWxeD0ZIuOX1
Cancel-Lock: sha1:C6N9jGSwtOU1Fc+nQvGRN7G7jXg=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101
Thunderbird/109.0
Content-Language: en-US
In-Reply-To: <tqbfoe$1ic05$1@dont-email.me>
 by: Steve Lionel - Thu, 19 Jan 2023 14:15 UTC

On 1/19/2023 8:14 AM, James Van Buskirk wrote:
> Then I downloaded w_fortran-compiler_p_2023.0.0.25579_offline.exe
> and I get a warning that my OS version is old, but this doesn't seem
> fatal.  But then after accepting the license agreement and choosing the
> recommended installation, I get a warning that I don't have Microsoft
> Visual Studio 2017, 2019, or 2022 or Microsoft Build Tools 2017, 2019,
> or 2022 and that Microsoft Visual Studio 2022 does not have Desktop
> development with C++ components installed.
>
> At this point I abort installation.  What am I doing wrong?

See
https://www.intel.com/content/www/us/en/developer/articles/guide/installing-microsoft-visual-studio-2019-for-use-with-intel-compilers.html
--
Steve Lionel
ISO/IEC JTC1/SC22/WG5 (Fortran) Convenor
Retired Intel Fortran developer/support
Email: firstname at firstnamelastname dot com
Twitter: @DoctorFortran
LinkedIn: https://www.linkedin.com/in/stevelionel
Blog: https://stevelionel.com/drfortran
WG5: https://wg5-fortran.org

Re: ifort installation too complicated

<tqbp8d$1k1f7$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3230&group=comp.lang.fortran#3230

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: not_valid@comcast.net (James Van Buskirk)
Newsgroups: comp.lang.fortran
Subject: Re: ifort installation too complicated
Date: Thu, 19 Jan 2023 08:56:50 -0700
Organization: A noiseless patient Spider
Lines: 1
Message-ID: <tqbp8d$1k1f7$1@dont-email.me>
References: <tqails$19ipb$1@dont-email.me> <706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com> <tqbfoe$1ic05$1@dont-email.me> <k2t1kjF44irU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=response
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Jan 2023 15:57:01 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="07f74f4f4d0ebd6f31b0d583bc6be4fa";
logging-data="1705447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UXrBZC70ECv59uU7YjL48OX3a6yrE0xQ="
Cancel-Lock: sha1:gZbVnlDqwdkHNTPiwzgN0XjmWqE=
In-Reply-To: <k2t1kjF44irU1@mid.individual.net>
Importance: Normal
X-Priority: 3
X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
 by: James Van Buskirk - Thu, 19 Jan 2023 15:56 UTC

"Steve Lionel" wrote in message news:k2t1kjF44irU1@mid.individual.net...

> On 1/19/2023 8:14 AM, James Van Buskirk wrote:
> > Then I downloaded w_fortran-compiler_p_2023.0.0.25579_offline.exe
> > and I get a warning that my OS version is old, but this doesn't seem
> > fatal. But then after accepting the license agreement and choosing the
> > recommended installation, I get a warning that I don't have Microsoft
> > Visual Studio 2017, 2019, or 2022 or Microsoft Build Tools 2017, 2019,
> > or 2022 and that Microsoft Visual Studio 2022 does not have Desktop
> > development with C++ components installed.

> > At this point I abort installation. What am I doing wrong?

> See
> https://www.intel.com/content/www/us/en/developer/articles/guide/installing-microsoft-visual-studio-2019-for-use-with-intel-compilers.html

Thanks Steve, that did it! Now I can compile hello.f90. However my
slightly more complicated program seems to die at about the same
place. Do I still have to add stuff like /assume:realloc_lhs or
something, or should ifort have fixed this kind of nonconformance
automatically at this point?

Well, at least I can now try to track down the crash point...

Re: ifort installation too complicated

<tqbqvt$1kb9q$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3231&group=comp.lang.fortran#3231

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: not_valid@comcast.net (James Van Buskirk)
Newsgroups: comp.lang.fortran
Subject: Re: ifort installation too complicated
Date: Thu, 19 Jan 2023 09:26:26 -0700
Organization: A noiseless patient Spider
Lines: 1
Message-ID: <tqbqvt$1kb9q$1@dont-email.me>
References: <tqails$19ipb$1@dont-email.me> <706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com> <tqbfoe$1ic05$1@dont-email.me> <k2t1kjF44irU1@mid.individual.net> <tqbp8d$1k1f7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=response
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Jan 2023 16:26:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="07f74f4f4d0ebd6f31b0d583bc6be4fa";
logging-data="1715514"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eWulWuGKWKJNmNk0/60puBf1DGoxK+7U="
Cancel-Lock: sha1:eDFgC7r3HWScreX/ewaN6UotOtY=
In-Reply-To: <tqbp8d$1k1f7$1@dont-email.me>
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331
Importance: Normal
X-Priority: 3
 by: James Van Buskirk - Thu, 19 Jan 2023 16:26 UTC

"James Van Buskirk" wrote in message news:tqbp8d$1k1f7$1@dont-email.me...

> Well, at least I can now try to track down the crash point...

My first problem was that if I compiled with

ifort cheby2.f90 /out:cheby2

the compiler would echo

-out:cheby2.exe

but in fact would create a file called cheby2 instead. Appending .exe

ifort cheby2.f90 /out:cheby2.exe

at least gets me to the crash point with the new compiler.

Re: ifort installation too complicated

<tqck4u$1oi10$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3232&group=comp.lang.fortran#3232

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: not_valid@comcast.net (James Van Buskirk)
Newsgroups: comp.lang.fortran
Subject: Re: ifort installation too complicated
Date: Thu, 19 Jan 2023 16:35:48 -0700
Organization: A noiseless patient Spider
Lines: 1
Message-ID: <tqck4u$1oi10$1@dont-email.me>
References: <tqails$19ipb$1@dont-email.me> <706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com> <tqbfoe$1ic05$1@dont-email.me> <k2t1kjF44irU1@mid.individual.net> <tqbp8d$1k1f7$1@dont-email.me> <tqbqvt$1kb9q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=response
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Jan 2023 23:35:59 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="372344c70c8f0af287e70ceede18acc5";
logging-data="1853472"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18CxaH45FY4MbOUFmpdnzRuATlhjkUHlb4="
Cancel-Lock: sha1:0v78BfwAQ75lYYEKNPgIkyVeFn0=
X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
X-Priority: 3
Importance: Normal
X-MSMail-Priority: Normal
In-Reply-To: <tqbqvt$1kb9q$1@dont-email.me>
 by: James Van Buskirk - Thu, 19 Jan 2023 23:35 UTC

"James Van Buskirk" wrote in message news:tqbqvt$1kb9q$1@dont-email.me...

> "James Van Buskirk" wrote in message news:tqbp8d$1k1f7$1@dont-email.me...

> My first problem was that if I compiled with

> ifort cheby2.f90 /out:cheby2

Actually this would produce a warning. The actual command line that
reproduces this issue is

ifort hello.f90 /link kernel32.lib /out:hello

> the compiler would echo

> -out:cheby2.exe

> but in fact would create a file called cheby2 instead.

Re: ifort installation too complicated

<k2vtn1FhkujU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3233&group=comp.lang.fortran#3233

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: steve@seesignature.invalid (Steve Lionel)
Newsgroups: comp.lang.fortran
Subject: Re: ifort installation too complicated
Date: Fri, 20 Jan 2023 11:27:14 -0500
Lines: 45
Message-ID: <k2vtn1FhkujU1@mid.individual.net>
References: <tqails$19ipb$1@dont-email.me>
<706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>
<tqbfoe$1ic05$1@dont-email.me> <k2t1kjF44irU1@mid.individual.net>
<tqbp8d$1k1f7$1@dont-email.me> <tqbqvt$1kb9q$1@dont-email.me>
<tqck4u$1oi10$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net vsH+V/k7XVXg4sQ0FSh68QpJ5JKDExWPIJDBZrArjPPJSBLvav
Cancel-Lock: sha1:DqBc7vea1WxVttc0uxQRGlbPmCE=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101
Thunderbird/109.0
Content-Language: en-US
In-Reply-To: <tqck4u$1oi10$1@dont-email.me>
 by: Steve Lionel - Fri, 20 Jan 2023 16:27 UTC

On 1/19/2023 6:35 PM, James Van Buskirk wrote:
> "James Van Buskirk"  wrote in message news:tqbqvt$1kb9q$1@dont-email.me...
>
>> "James Van Buskirk"  wrote in message
>> news:tqbp8d$1k1f7$1@dont-email.me...
>
>> My first problem was that if I compiled with
>
>> ifort cheby2.f90 /out:cheby2
>
> Actually this would produce a warning.  The actual command line that
> reproduces this issue is
>
> ifort hello.f90 /link kernel32.lib /out:hello
>
>> the compiler would echo
>
>> -out:cheby2.exe
>
>> but in fact would create a file called cheby2 instead.
>

On Windows, /exe is the option to use instead of /out. But in this
example, all you need is:

ifort hello.f90

This will create a hello.exe; kernel32 is linked in by default. Perhaps
you could spend a few minutes reading the documentation on how to use
the compiler from the command line at
https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-setup/use-the-command-line.html#use-the-command-line

If you need more help on Intel Fortran, please ask in their user forum
at
https://community.intel.com/t5/Intel-Fortran-Compiler/bd-p/fortran-compiler
--
Steve Lionel
ISO/IEC JTC1/SC22/WG5 (Fortran) Convenor
Retired Intel Fortran developer/support
Email: firstname at firstnamelastname dot com
Twitter: @DoctorFortran
LinkedIn: https://www.linkedin.com/in/stevelionel
Blog: https://stevelionel.com/drfortran
WG5: https://wg5-fortran.org

Re: ifort installation too complicated

<487cdf86-b85d-401e-b59e-65c08787d1e0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3234&group=comp.lang.fortran#3234

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:a05:622a:d:b0:3b0:4ae1:f0d0 with SMTP id x13-20020a05622a000d00b003b04ae1f0d0mr611096qtw.214.1674234419188;
Fri, 20 Jan 2023 09:06:59 -0800 (PST)
X-Received: by 2002:a05:6870:ed86:b0:15e:fd6b:5f44 with SMTP id
fz6-20020a056870ed8600b0015efd6b5f44mr1438005oab.83.1674234418848; Fri, 20
Jan 2023 09:06:58 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.fortran
Date: Fri, 20 Jan 2023 09:06:58 -0800 (PST)
In-Reply-To: <k2vtn1FhkujU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=136.226.61.16; posting-account=ZZXq9AoAAAAQEcA7zKAGm0UFQh4gMBv7
NNTP-Posting-Host: 136.226.61.16
References: <tqails$19ipb$1@dont-email.me> <706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>
<tqbfoe$1ic05$1@dont-email.me> <k2t1kjF44irU1@mid.individual.net>
<tqbp8d$1k1f7$1@dont-email.me> <tqbqvt$1kb9q$1@dont-email.me>
<tqck4u$1oi10$1@dont-email.me> <k2vtn1FhkujU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <487cdf86-b85d-401e-b59e-65c08787d1e0n@googlegroups.com>
Subject: Re: ifort installation too complicated
From: parekhvs@gmail.com (FortranFan)
Injection-Date: Fri, 20 Jan 2023 17:06:59 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1904
 by: FortranFan - Fri, 20 Jan 2023 17:06 UTC

On Friday, January 20, 2023 at 11:27:17 AM UTC-5, Steve Lionel wrote:

> ..
> On Windows, /exe is the option to use instead of /out. ..

/exe is no longer a thing, don't thing it ever was. Neither with the underlying MSVC linker on Windows from Microsoft not with the Intel Fortran driver:

https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/compiler-options/linking-or-linker-options.html

https://learn.microsoft.com/en-us/cpp/build/reference/linker-options?view=msvc-170

Re: ifort installation too complicated

<k302dtFiejrU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3235&group=comp.lang.fortran#3235

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: steve@seesignature.invalid (Steve Lionel)
Newsgroups: comp.lang.fortran
Subject: Re: ifort installation too complicated
Date: Fri, 20 Jan 2023 12:47:41 -0500
Lines: 14
Message-ID: <k302dtFiejrU1@mid.individual.net>
References: <tqails$19ipb$1@dont-email.me>
<706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>
<tqbfoe$1ic05$1@dont-email.me> <k2t1kjF44irU1@mid.individual.net>
<tqbp8d$1k1f7$1@dont-email.me> <tqbqvt$1kb9q$1@dont-email.me>
<tqck4u$1oi10$1@dont-email.me> <k2vtn1FhkujU1@mid.individual.net>
<487cdf86-b85d-401e-b59e-65c08787d1e0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net pZog32PNUk0kJ5u0inB+ZgRj225xWL0J/ctWWtr8YTctvvhe2k
Cancel-Lock: sha1:r9KrUzXhXOES9hemVVC1gCEyUbU=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101
Thunderbird/109.0
Content-Language: en-US
In-Reply-To: <487cdf86-b85d-401e-b59e-65c08787d1e0n@googlegroups.com>
 by: Steve Lionel - Fri, 20 Jan 2023 17:47 UTC

On 1/20/2023 12:06 PM, FortranFan wrote:
> /exe is no longer a thing, don't thing it ever was. Neither with the underlying MSVC linker on Windows from Microsoft not with the Intel Fortran driver:

https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/compiler-options/output-debug-and-precompiled-header-options/exe.html
--
Steve Lionel
ISO/IEC JTC1/SC22/WG5 (Fortran) Convenor
Retired Intel Fortran developer/support
Email: firstname at firstnamelastname dot com
Twitter: @DoctorFortran
LinkedIn: https://www.linkedin.com/in/stevelionel
Blog: https://stevelionel.com/drfortran
WG5: https://wg5-fortran.org

Re: ifort installation too complicated

<5d167d26-dc3a-4763-aab8-31e3857599een@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3236&group=comp.lang.fortran#3236

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:a05:620a:1007:b0:705:f3f6:717a with SMTP id z7-20020a05620a100700b00705f3f6717amr480528qkj.511.1674244107639;
Fri, 20 Jan 2023 11:48:27 -0800 (PST)
X-Received: by 2002:a05:6808:128d:b0:36c:e926:2378 with SMTP id
a13-20020a056808128d00b0036ce9262378mr715581oiw.71.1674244107315; Fri, 20 Jan
2023 11:48:27 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.fortran
Date: Fri, 20 Jan 2023 11:48:27 -0800 (PST)
In-Reply-To: <k302dtFiejrU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=136.226.60.254; posting-account=ZZXq9AoAAAAQEcA7zKAGm0UFQh4gMBv7
NNTP-Posting-Host: 136.226.60.254
References: <tqails$19ipb$1@dont-email.me> <706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>
<tqbfoe$1ic05$1@dont-email.me> <k2t1kjF44irU1@mid.individual.net>
<tqbp8d$1k1f7$1@dont-email.me> <tqbqvt$1kb9q$1@dont-email.me>
<tqck4u$1oi10$1@dont-email.me> <k2vtn1FhkujU1@mid.individual.net>
<487cdf86-b85d-401e-b59e-65c08787d1e0n@googlegroups.com> <k302dtFiejrU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5d167d26-dc3a-4763-aab8-31e3857599een@googlegroups.com>
Subject: Re: ifort installation too complicated
From: parekhvs@gmail.com (FortranFan)
Injection-Date: Fri, 20 Jan 2023 19:48:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: FortranFan - Fri, 20 Jan 2023 19:48 UTC

On Friday, January 20, 2023 at 12:47:45 PM UTC-5, Steve Lionel wrote:

> ..
> https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/compiler-options/output-debug-and-precompiled-header-options/exe.html

My bad.

I had looked a fair bit in the Microsoft documentation and also at Intel Fortran under linker options and in the build system files of a team I work with that uses IFORT and MSVC that dates back to DEC Fortran and MSVC 6.0 circa late 1990s and failed to find /exe anywhere! I only saw /out getting mentioned with Microsoft's link.exe and it's also used in the build scripts. The one place I overlooked was under compiler options with IFORT - didn't think /exe will be listed there!

Re: ifort installation too complicated

<tqf78n$2941q$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3237&group=comp.lang.fortran#3237

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: not_valid@comcast.net (James Van Buskirk)
Newsgroups: comp.lang.fortran
Subject: Re: ifort installation too complicated
Date: Fri, 20 Jan 2023 16:14:17 -0700
Organization: A noiseless patient Spider
Lines: 1
Message-ID: <tqf78n$2941q$1@dont-email.me>
References: <tqails$19ipb$1@dont-email.me> <706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com> <tqbfoe$1ic05$1@dont-email.me> <k2t1kjF44irU1@mid.individual.net> <tqbp8d$1k1f7$1@dont-email.me> <tqbqvt$1kb9q$1@dont-email.me> <tqck4u$1oi10$1@dont-email.me> <k2vtn1FhkujU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=response
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 20 Jan 2023 23:14:31 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="84bac85272e1f518679ed21cf6a5960c";
logging-data="2396218"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18P8l5SyhTOEKNNMmhTlsHX4c4mqoltXB0="
Cancel-Lock: sha1:rLp6mTT+YhLzQDpPrLzgMGs4UXs=
In-Reply-To: <k2vtn1FhkujU1@mid.individual.net>
X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
X-MSMail-Priority: Normal
Importance: Normal
X-Priority: 3
 by: James Van Buskirk - Fri, 20 Jan 2023 23:14 UTC

"Steve Lionel" wrote in message news:k2vtn1FhkujU1@mid.individual.net...

> On Windows, /exe is the option to use instead of /out. But in this
> example, all you need is:

> ifort hello.f90

> This will create a hello.exe; kernel32 is linked in by default.

I just put in kernel32.lib to create an mcve. The actual command line was

ifort cheby2.f90 chebyx.obj xygraph.obj /link Gdi32.lib Opengl32.lib
Glu32.lib User32.lib /out:cheby2.exe

In this context I think the /out command line parameter is read by link.exe,
not the Intel Fortran compiler.

>
> Perhaps you could spend a few minutes reading the documentation on how to
> use the compiler from the command line

I have found that I could get a lot of info via

ifort hello.f90 /#

BTW, the first crash was my fault, not ifort's. For some reason the
gfortran
executable didn't experience a problem due to deferencing an
unallocated array. The current crash is weird in that ifort gets hung in
a loop whereas gfortran doesn't. Hopefully I can figure out what's
going on -- it happens in a rather murky part of the code.

Re: ifort installation too complicated

<k30qnpFm0j3U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3238&group=comp.lang.fortran#3238

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: steve@seesignature.invalid (Steve Lionel)
Newsgroups: comp.lang.fortran
Subject: Re: ifort installation too complicated
Date: Fri, 20 Jan 2023 19:42:33 -0500
Lines: 19
Message-ID: <k30qnpFm0j3U1@mid.individual.net>
References: <tqails$19ipb$1@dont-email.me>
<706d7544-c8d1-4004-acfa-ff29a8713455n@googlegroups.com>
<tqbfoe$1ic05$1@dont-email.me> <k2t1kjF44irU1@mid.individual.net>
<tqbp8d$1k1f7$1@dont-email.me> <tqbqvt$1kb9q$1@dont-email.me>
<tqck4u$1oi10$1@dont-email.me> <k2vtn1FhkujU1@mid.individual.net>
<tqf78n$2941q$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 3q9A6Wy+aLShKt8vjqsXIQTxi7mLWzz/KpP97g9ynRddXfqAet
Cancel-Lock: sha1:kj/8PkUxXhxM4nVMgawyP2mR1Dg=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101
Thunderbird/109.0
Content-Language: en-US
In-Reply-To: <tqf78n$2941q$1@dont-email.me>
 by: Steve Lionel - Sat, 21 Jan 2023 00:42 UTC

On 1/20/2023 6:14 PM, James Van Buskirk wrote:
> ifort cheby2.f90 chebyx.obj xygraph.obj /link Gdi32.lib Opengl32.lib
> Glu32.lib User32.lib /out:cheby2.exe
>
> In this context I think the /out command line parameter is read by
> link.exe,
> not the Intel Fortran compiler.

Correct - anything after /link is sent to the linker.
--
Steve Lionel
ISO/IEC JTC1/SC22/WG5 (Fortran) Convenor
Retired Intel Fortran developer/support
Email: firstname at firstnamelastname dot com
Twitter: @DoctorFortran
LinkedIn: https://www.linkedin.com/in/stevelionel
Blog: https://stevelionel.com/drfortran
WG5: https://wg5-fortran.org

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor