forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: laurent.pedesseau@insa-rennes.fr
- To: forum@abinit.org
- Subject: AMD64 Opteron with 4 cpus and suse version 10.1
- Date: Thu, 12 Oct 2006 18:10:37 +0200
Dear Abinit users,
I compiled abinis "Abinit4.6.5" successfully on my machine eg AMD64 Opteron
"with 4 cpus and a suse version 10.1".
So, I would like to compile abinip on this machine.
Actually, I am trying to fill in the *makefile_macro* file. Apparently, I
have done something wrong because my binary abinip doesn't work!!!
My compilers are ifort, icc "from intel non commercial version",
mpif77/mpif90 "from MPICH2".
By the way, I installed the SIESTA code and it's running well on 4 cpus. That
means I've got a good environment for running code on multi processors and my
problem is inherent to the way I am doing the compilation.
It would be nice if someone could send me a *makefile_macro* file with my own
prerequisite.
################################################################################
Here is my wrong *makefile_macro* file:
################################################################################
# This file contains the definitions needed for every possible script
# to be used with the ABINIT makefiles. It is very much machine-dependent.
# It is read by makemake and makearch.
####################################################################
# For the sequential version
# Machine type
MACHINE=P6
# Fortran optimized compilation
FC=/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/bin/mpif77
FFLAGS=-FR -O3 -w -tpp7 -axW -static
FFLAGS_LIBS =-O3 -w -static
# C preprocessor, used to preprocess the fortran source.
CPP=/lib/cpp
CPP_FLAGS=-P -traditional -DCONTRACT
# C optimized compilation.
CC=/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/bin/mpicc
CFLAGS=-O
# Location of perl . Used to generate the script fldiff, in ~ABINIT/Utilities
.
PERL=/usr/bin/perl
# List of machine-dependent routines
MACHINE_DEP_C_SEQ_SUBS_LIST=etime.o
# Use the ABINIT default libraries.
# For dynamical link, uncomment this line
#LIBS= $(LAPACK) $(BLAS) $(NETCDF)
NC_CC=/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/bin/mpicc
NC_FC=/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/bin/mpif77
NC_F90=/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/bin/mpif90
NC_CPPFLAGS=-DpgiFortran
####################################################################
# For the parallel version
# Compiler flags and definitions
FFLAGS_PAR= $(FFLAGS) -I
/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/include
# List of machine-dependent routines
MACHINE_DEP_C_PAR_SUBS_LIST=etime.par
# Location of the MPI library
MPI_A=/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/lib/libfmpich.a
/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/lib/libmpich.a
# Include blas, lapack, and any other libraries here
LIBS_PAR=$(LIBS) $(MPI_A)
# Command for automatic tests in parallel (optional)
COMMAND_PAR= /home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/bin/mpirun
-np 2 -machinefile machine.insa-rennes.fr:4 ../../abinip
####################################################################
# For integration of netcdf
# The following lines may be uncommented if the ./configure script for
# netcdf doesn't find the appropriate tools.
# The script Lib_netcdf/src/nc_configure will strip the NC_ prefix,
# set the appropriate environment variables
# and call the standard netcdf ./configure script
# Note that in this example, the CFLAGS is given to define the "compiler
platform"
# as expected by netcdf (not always required, the compiler may define
# the adequate environment variable or configur may find it).
# For examples of environment variables used on different platforms see:
# http://www.unidata.ucar.edu/packages/netcdf/INSTALL.html
NC_FC=/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/bin/mpif77
NC_F90=/home/lens/pedesseau/MPI/TEST_MPICH/mpich2-install/bin/mpif90
NC_CPPFLAGS='-DNDEBUG -DpgiFortran'
#NC_CC=
#NC_CFLAGS=
#NC_FFLAGS=
#NC_F90FLAGS=
# This is a last line in makefile_macros ----------
################################################################################
Is someone having an idea to tackle my problem?
Regards,
Laurent PEDESSEAU
INSA RENNES
Bat 10, Laboratoire d'Etude des
Nanostructures à Semiconducteurs (LENS)
Département de Matériaux et Nanotechnologies
1er étage, bureau 125
20 Avenue de Buttes de Coësmes
CS 14 315
35 043 Rennes Cedex
tél : 02 23 23 84 64
fax : 02 23 23 86 18
http://www.insa-rennes.fr/foton/
- AMD64 Opteron with 4 cpus and suse version 10.1, laurent . pedesseau, 10/12/2006
Archive powered by MHonArc 2.6.16.