~albertog/siesta/4.1-nl

« back to all changes in this revision

Viewing changes to Src/Sys/nano-intel10-mvapich.make

  • Committer: Nick Papior
  • Date: 2016-10-04 09:22:48 UTC
  • Revision ID: nickpapior@gmail.com-20161004092248-t92yuxl8o5fg2rg0
Removed unnecessary configure/arch-make stuff

Removed all configure related stuff. This is now "obsoleted"
until an expert tells us what to do.

Moved sample arch.make files to the Obj directory. In this way
the basic examples and documentations are where people will
initially search for them.

Removed deprecated lapack/blas sources. Now one should use the full
sources in case the optimized libraries does not contain the needed
functionality.

Cleaned up Makefile.
Specifically the rule for the sockets.c file was unnecessary as
it was (almost) equal to the implicit rule of C-compilation.

Removed folders:
  Src/Sys
  Src/Conf
  Src/m4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
2
 
# Copyright (C) 1996-2016       The SIESTA group
3
 
#  This file is distributed under the terms of the
4
 
#  GNU General Public License: see COPYING in the top directory
5
 
#  or http://www.gnu.org/copyleft/gpl.txt.
6
 
# See Docs/Contributors.txt for a list of contributors.
7
 
#
8
 
SIESTA_ARCH=nano-intel-mvapich
9
 
#
10
 
# To run in parallel with InfiniBand, make sure that
11
 
# /usr/mpi/intel/mvapich-1.0.1/bin is in your path, and use
12
 
# the following incantation to run (in multiples of 8 procs)
13
 
#
14
 
#  PATH=/usr/mpi/intel/mvapich-1.0.1/bin
15
 
#  mpirun_rsh -np $NSLOTS -hostfile $PBS_NODEFILE  siesta < FILE.fdf > OUT
16
 
#
17
 
#
18
 
#--------------------------------------------------------------------------
19
 
# Note: The -mpX option is necessary to recover IEEE floating point precision.
20
 
#
21
 
FC=/usr/mpi/intel/mvapich-1.0.1/bin/mpif90
22
 
#
23
 
#  You can play with other optimization options
24
 
#  I am not sure whether the compiler attempts to multithread the code
25
 
#
26
 
FFLAGS= -w -O2 -mp
27
 
##FFLAGS= -w  -O0 -g -debug full -traceback -C
28
 
EXTRA_LIBS=-lpthread -lsvml
29
 
FFLAGS_DEBUG= -g 
30
 
LDFLAGS=
31
 
COMP_LIBS=
32
 
RANLIB=echo
33
 
#
34
 
NETCDF_ROOT=/share/apps/netcdf-3.6.2-ifort
35
 
NETCDF_INCFLAGS=-I$(NETCDF_ROOT)/include
36
 
FPPFLAGS_CDF=-DCDF
37
 
DEFS_CDF=-DCDF
38
 
#
39
 
MPI_INTERFACE=libmpi_f90.a
40
 
MPI_INCLUDE=.      # Note . for no-op
41
 
DEFS_MPI=-DMPI
42
 
#
43
 
METIS_LIBS=/share/apps/metis-4.0/libmetis.a
44
 
#
45
 
NETCDF_LIBS= -L$(NETCDF_ROOT)/lib -lnetcdf
46
 
MKLPATH=/opt/intel/mkl/10.0.3.020/lib/em64t
47
 
BLAS_LIBS=$(MKLPATH)/libmkl_em64t.a
48
 
LAPACK_LIBS=$(MKLPATH)/libmkl_lapack.a
49
 
BLACS_LIBS=$(MKLPATH)/libmkl_blacs_lp64.a
50
 
SCALAPACK_LIBS=$(MKLPATH)/libmkl_scalapack_lp64.a
51
 
 
52
 
LINO_LIBS=-L/opt/intel/mkl/10.0.3.020/lib/em64t \
53
 
          -lmkl_scalapack_lp64 -lmkl_blacs_lp64 -lmkl_lapack \
54
 
          $(METIS_LIBS) $(NETCDF_LIBS) \
55
 
          -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5
56
 
 
57
 
FDN_LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) \
58
 
         $(METIS_LIBS) $(NETCDF_LIBS) -liomp5 -pthread
59
 
#
60
 
LIBS=$(LINO_LIBS)
61
 
SYS=nag
62
 
DEFS= $(DEFS_CDF) $(DEFS_MPI) ### -DDEBUG
63
 
#
64
 
.F.o:
65
 
        $(FC) -c $(FFLAGS) $(INCFLAGS)  $(DEFS) $<
66
 
.f.o:
67
 
        $(FC) -c $(FFLAGS) $(INCFLAGS)   $<
68
 
.F90.o:
69
 
        $(FC) -c $(FFLAGS) $(INCFLAGS)  $(DEFS) $<
70
 
.f90.o:
71
 
        $(FC) -c $(FFLAGS) $(INCFLAGS)   $<
72
 
#
73
 
 
74
 
 
75
 
 
76
 
 
77
 
 
78
 
 
79
 
 
80