- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've been trying to install a Fortran code. This code is supposed to be compatible with Interl Fortran, but the Makefiles are wrtitten for MacOS, whereas I'm trying to compile on Windows XP. I'm running Visual Fortran Compiler 11.1.051 launched from the Cygwin window.
I already compiled the library into the directory D:/users/misc/
Now, I've been trying to compile codes into the D:/users/global directory. The original Makefile uses the -L and -l options: -L../misc and -lmisc that I converted for Windows by adding the D:/users/misc path into the environment variable LIB.
The command is the following:
toasc.exe: toasc.f90
ifort /O3 /nologo /Ob2 /assume:byterecl /threads /heap-arrays /include:D:/users/misc /Qparallel /exe:tasc.exe toasc.f90
The compiler produce the toasc.obj without complaining but replies the following error:
Link invalid option --o.
Thanks in advance for your help.
I already compiled the library into the directory D:/users/misc/
Now, I've been trying to compile codes into the D:/users/global directory. The original Makefile uses the -L and -l options: -L../misc and -lmisc that I converted for Windows by adding the D:/users/misc path into the environment variable LIB.
The command is the following:
toasc.exe: toasc.f90
ifort /O3 /nologo /Ob2 /assume:byterecl /threads /heap-arrays /include:D:/users/misc /Qparallel /exe:tasc.exe toasc.f90
The compiler produce the toasc.obj without complaining but replies the following error:
Link invalid option --o.
Thanks in advance for your help.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Thomas Folegot
Link invalid option --o.
$ cat ia32/ifort.cfg
# This Configuration file may be used for additional switches
-Qlocation,link,"C:Program FilesMicrosoft Visual Studio 9.0VCbin"
-assume:minus0,protect_parens,buffered_io,byterecl
-Qprec-div -Qprec-sqrt
For intel64ifort.cfg, use the AMD64bin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
Quoting - Thomas Folegot
Link invalid option --o.
$ cat ia32/ifort.cfg
# This Configuration file may be used for additional switches
-Qlocation,link,"C:Program FilesMicrosoft Visual Studio 9.0VCbin"
-assume:minus0,protect_parens,buffered_io,byterecl
-Qprec-div -Qprec-sqrt
For intel64ifort.cfg, use the AMD64bin.
Thanks Tim for your help.
Now I have an error1 ...
What is the equivalent of -L on Windows ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Thomas Folegot
Thanks Tim for your help.
Now I have an error1 ...
What is the equivalent of -L on Windows ?
Its works now, no pb.
Thanks again for your help.
Thomas.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page