intel
Overview
Intel® Parallel Studio XE Cluster Edition for Linux* 2020
30天试用版key
VJDC-VSPG8B86
如果有教育版edu邮箱 https://registrationcenter.intel.com/en/forms/?productid=2867
Ubuntu 18.04 注意这个Intel xxx的script安装 对系统有版本要求
下载 解压 intall.sh , 取消(显卡 xx 安装要求)
1http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16225/parallel_studio_xe_2020_cluster_edition_online.tgz
2
3
4
5tar -xvzf parallel_studio_xe_2020_cluster_edition_online.tgz
6cd parallel_studio_xe_2020_cluster_edition_online
7bash intall.sh
8
设置环境变量
1export LD_LIBRARY_PATH="/opt/intel/lib"
2export DYLD_LIBRARY_PATH="/opt/intel/lib"
3export MANPATH="/opt/intel/man"
4export PATH=/opt/intel/bin:$PATH
编译 x86架构 修改 make.inc 文件
1cd ../../../../src/
2cd /root/FEAST/3.0/src
3nano make.inc
Intel Fortran + (any) C Compiler to remove the Fortran runtime library dependencies
1root@vultr:~/FEAST/3.0/src# cat make.inc
2############################################################################
3# Compilers
4############################################################################
5
6#####################################################################
7########### Two possible options (choose one)
8########### Option 1- (any) Fortran Compiler is used alone
9########### Option 2- Intel Fortran + (any) C Compiler to remove the Fortran runtime library dependencies
10#######################################################################
11
12#OPTION = 1
13OPTION = 2
14
15################################################################
16########## Select C compiler and flags (mandatory for option #2)
17################################################################
18CC = gcc
19CFLAGS = -O3 -fopenmp -fPIC # -fPIC
20
21
22##########################################################
23########## Select F90 compiler and flags (Mandatory)
24##########################################################
25
26#>>>>> Remark: three examples F1-F2-F3 (choose one or create your own)
27
28#F1- Intel Fortran Compiler (work with option 1 above; Mandatory for Option #2 above)
29F90 = ifort
30F90FLAGS = -O3 -qopenmp -fpp -fPIC # -fPIC
31
32##F2- Gnu Fortran Compiler (work with option 1 above)
33#F90 = gfortran
34#F90FLAGS = -O3 -m64 -openmp -ffree-line-length-none -ffixed-line-length-none -cpp
35
36##F3-Portland Group Fortran Compiler (work with option 1 above)
37#F90 = pgf90
38#F90FLAGS = -O3 -mp -Mcpp
39
40
41##########################################################
42########### For FEAST-MPI (if you wish to compile it)
43########### Select your own MPI implementation
44##########################################################
45
46#>>>>> Remark: three example P1-P2-P3 (for example: mpiifort, mpif90.mpich2, mpif90.openmpi, etc.)
47
48## P1- Intel MPI
49MPI= mpiifort -f90=$(F90)
50
51##P2- mpich2
52##MPI = mpif90.mpich2 -f90=$(F90)
53
54##P3- openmpi ...requires shell environment variable "OMPI_FC=$(F90)"
55#export OMPI_FC=$(F90) # for BASH shell
56#MPI = mpif90.openmpi
57
58
59######### MPI is here associated with the F90 compiler above and compiler directives are activated
60######### Do not change the following
61PF90 = $(MPI)
62PF90FLAGS = $(F90FLAGS) -DMPI
编译 x64 架构文件 编译后存放在/lib/x64
1make ARCH=x64 LIB=feast all
2
3make ARCH=x64 LIB=pfeast all