Saluti a tutti !
Come si installano Intel compilers su debian Jessie ? Devo acquistarli ?
Devo installarlo per compilare alcune dipendenze di Code Aster.
Grazie,
marcoC
[RISOLTO] Installazione Intel compilers su Jessie
Re: installazione Intel compilers su Jessie
Secondo le FAQ (https://www.code-aster.org/V2/spip.php?article274) il gcc è sufficiente a compilare: perché stai cercando di installare un altro compilatore ?
Si suggerisce la lettura di: Come allegare un LOG ai quesiti del forum * Come formulare quesiti * Debian - Manuale d'installazione * Debian Reference * Debian Administrator's Handbook
Re: installazione Intel compilers su Jessie
Perché in realtà è richiesta l'installazione di mumps che, a sua volta, richiede il compilatore Intel, lo si deduce dal README che è nella tar ball del download del programma ed io non so come fare ...
Re: installazione Intel compilers su Jessie
Ho dato un ochiata al file README_aster.txt del file aster-full-src-13.6.0-1.noarch.tar.gz che recita:
Quindi, sembrerebbe raccomandato, ma non obbligatorio. Ciò sembrerebbe confermato dal file "setup.cfg" che contiene:
Comunque, per rispondere alla domanda in oggetto, cercando con google, risulta all'indirizzo https://software.intel.com/en-us/c-compilers che :
Codice: Seleziona tutto
[..]
- Note about compilers
``setup.py`` tries now to find automatically your compilers.
By default it searches GNU compilers.
After searching it writes found values. Check them before continue.
You can always set them using the ``setup.cfg`` configuration file.
You can also use ``PATH`` and ``LD_LIBRARY_PATH`` environment variables
to help ``setup.py`` to find the compiler you prefer.
- Note about Intel Compilers
Its recommended to use Intel compilers for aster, mumps and metis
and to let GNU compilers for the other products.
To do that just edit ``setup.cfg`` and uncomment these lines ::
PREFER_COMPILER_aster = 'Intel'
PREFER_COMPILER_mumps = PREFER_COMPILER_aster
PREFER_COMPILER_metis = PREFER_COMPILER_aster
You can "source" the compiler environment script, ``iccvars.sh``,
``ifortvars.sh`` and ``mklvarsXX.sh`` to set environment variables
for Intel Compilers to help ``setup.py`` to find your compilers.
For example ::
source /opt/intel/cc/*/bin/iccvars.sh
source /opt/intel/fc/*/bin/ifortvars.sh
source /opt/intel/mkl/*/tools/environment/mklvars32.sh
python setup.py install --prefix=/opt/aster
[..]
Codice: Seleziona tutto
#-------------------------------------------------------------------------------
# Compilers
# The setup tries to find automatically your compilers and math libraries.
# You can set PATH and LD_LIBRARY_PATH environment variables before running setup.py
# to add paths in search list.
#
# You may want to select different compilers for products
# Example : PREFER_COMPILER_med = 'GNU'
# Default values are :
# GNU compiler for all products
PREFER_COMPILER = 'GNU'
# If you have another compilers you should uncomment following lines:
# (aster, mumps, metis, metis-edf)
# Note the "-" replaced by "_"
#PREFER_COMPILER_aster = 'Intel'
# or
#PREFER_COMPILER_aster = 'Open64'
# or
#PREFER_COMPILER_aster = 'Pathscale'
#PREFER_COMPILER_mumps = PREFER_COMPILER_aster
#PREFER_COMPILER_metis = PREFER_COMPILER_aster
The Intel C++ Compiler is available in two products based on your application development needs:
Intel® Parallel Studio XE: Free or discounted versions are avaliable for qualified student or academic programs.
Intel® System Studio: This suite is ideal for IoT, embedded systems, and mobile devices. Use it on Microsoft Windows*, Android*, and Linux*.
Si suggerisce la lettura di: Come allegare un LOG ai quesiti del forum * Come formulare quesiti * Debian - Manuale d'installazione * Debian Reference * Debian Administrator's Handbook
Re: Installazione Intel compilers su Jessie
@MarcoC: puoi aggiornare la discussione ?
Si suggerisce la lettura di: Come allegare un LOG ai quesiti del forum * Come formulare quesiti * Debian - Manuale d'installazione * Debian Reference * Debian Administrator's Handbook
Re: Installazione Intel compilers su Jessie
Nota di moderazione: in assenza di riscontro del richiedente, ritenendo di aver risposto al quesito posto, si contrassegna come risolto.
Si suggerisce la lettura di: Come allegare un LOG ai quesiti del forum * Come formulare quesiti * Debian - Manuale d'installazione * Debian Reference * Debian Administrator's Handbook