Skip to Content.
Sympa Menu

forum - Parallel version for IBM p690

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Parallel version for IBM p690


Chronological Thread 
  • From: myid520@hotmail.com
  • To: forum@abinit.org
  • Subject: Parallel version for IBM p690
  • Date: Tue, 15 Jun 2004 10:42:43 +0200

Hello everyone:
I have made abinip on IBM eServer p690(32 Power 4 CPU).When I made it at
first, it gave following error.
#######################################################################
Before installation, create a link to a makefile_macros file.
If parallel version, you might have to create a link to a mpif.h file.

cat: 0652-050 Cannot open makefile_macros.
makemake : included makefile_macros in tmp_makefile
makemake : reached end, the tmp_makefile file has been generated

rm -f include.version
echo ' character*6, parameter :: codvsn="4.3.3"' > include.version

cd Infos/Installation_notes ; rm -fr install.html ; ln -s
install_v4.3.html install.html
cd Infos/Release_notes ; rm -fr release_notes.html ; ln -s
release_notes_v4.3.html release_notes.html
cd Infos/Features ; rm -fr features.html ; ln -s
features_v4.3.html features.html
make -f tmp_makefile abinip spaceparp managempip
if [ ! -d ./Src_defs ] ; then mkdir -p ./Src_defs ; fi
cd . ; if [ ! -f makefile_macros ] ; then cp
/home/phys/zzh/gz/makefile_macros . ; fi
cp: /home/phys/zzh/gz/makefile_macros: A file or directory in the path name
does not exist.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.
##############################################################################


When I change the file /Machine_dept_files/IBM/makefile_macros.ibm_44pOMP
as following:
Change ‘CC=xlc’ to ‘CC=cc’ and
Change
###################################################################
# Location of directory with header files *.h for parallel version
FFLAGS_PAR=$(FFLAGS) -I /usr/local/mpi/include
# Location of the MPI library
LIBS_PAR=$(LIBS) -L/usr/local/mpi/lib -lmpich –llmpi

# This is a last line in makefile_macros ---
######################################################################
To
#####################################################################
# Location of directory with header files *.h for parallel version
FFLAGS_PAR=$(FFLAGS)
# Location of the MPI library
LIBS_PAR=$(LIBS)

# This is a last line in makefile_macros ----------
##########################################################################

The making is successful.
But when I use abinip to calculate and test on parallel mode, it is slower
than abinis.
Sometimes it cann’t finish the running after giving the following
message, although it take only a few second using abinis:
##########################################################
ITER STEP NUMBER 1
vtorho : nnsclo_now= 2, note that nnsclo,dbl_nnsclo,istep= 0 0 1
###################################################################

Sometimes it gave the following error
ITER STEP NUMBER 1
vtorho : nnsclo_now= 2, note that nnsclo,dbl_nnsclo,istep= 0 0 1
ERROR: 0031-250 task 0: Segmentation fault
###########################################################
I want to know the reason.
Thanks!
Zhenhua Zheng
Department of Applied Physics, Hunan university, PRC


  • Parallel version for IBM p690, myid520, 06/15/2004

Archive powered by MHonArc 2.6.16.

Top of Page