- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I followed the MKL document section 7-2 to create the Blas lib for fortran interface. However, I ran into this problem:
mkdir -p obj
make -f makefile objects
make[1]: Entering directory `/opt/intel/Compiler/11.0/074/mkl/interfaces/blas95'
ifort -module ../../lib/32 -c -o obj/mkl_blas_protos.o source/mkl_blas_protos.f90
make[1]: ifort: Command not found
make[1]: *** [obj/mkl_blas_protos.o] Error 127
make[1]: Leaving directory `/opt/intel/Compiler/11.0/074/mkl/interfaces/blas95'
make: *** [libmkl_blas95.a] Error 2
why is that? any one has any idea? I can use ifort to compile my fortran code, but not in this situation. so weird.
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello, nimitzhunter,
Please, set Intel Fortran Compiler(ifort) environement before building library.
To do this run ifortvars.sh script - find it in the bin directory (or ifortvars.csh).
Thanks,
Vladimir
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello, nimitzhunter,
Please, set Intel Fortran Compiler(ifort) environement before building library.
To do this run ifortvars.sh script - find it in the bin directory (or ifortvars.csh).
Thanks,
Vladimir
Hi Vladimir.
what do you mean by running ifortvars.sh? I'm using ubuntu, how do I do it in terminal? Btw, i don't know how that will help becuase I can use the ifort command to compile my code but not in this case.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi nimitzhunter,
To check command, run "which ifort" in terminal window. If you see the full path to ifort you can use it.
To run ifortvars script, find it in the Compiler directory. Then run in terminal window something like:
. /opt/intel/Compiler/11.0/074/bin/ia32/ifortvars.sh
If you use cshell, run ifortvars.csh instead.
Thanks,
Vladimir
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
. /opt/intel/Compiler/11.0/074/bin/ia32/ifortvars.sh
If you use cshell, run ifortvars.csh instead.
"." is an abbreviation for "source" which works in bash, but not in tcsh.
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora