- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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.
- Etiquetas:
- Intel® Fortran Compiler
Enlace copiado
3 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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 ?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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.
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla