Skip to Content.
Sympa Menu

forum - 5.3.4 on mac osX

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

5.3.4 on mac osX


Chronological Thread 
  • From: Matthieu Verstraete <mjv500@york.ac.uk>
  • To: forum@abinit.org
  • Subject: 5.3.4 on mac osX
  • Date: Tue, 17 Apr 2007 18:19:58 +0100 (BST)


Hello all,

I took the latest tar.gz package for 5.3.4 and configure/compiled it on my favorite Mac OSX platform (G5 powerpc xlf and a new mpich installation).

However, for abinis and abinit-gw, the compilation of the main program crashed for levels of optimization -O2 -O3 or -O4. In both cases the compilation finished for no opt or for -O0. I believe the code speed in abinit.F90 is not too sensitive and the optimization will not be needed. Removing any of the other compilation options has no effect at all. Only the -On has an effect.

Strangely, for abinip everything was fine. This is probably linked to some lines that are preprocessed away or kept in abinip.

Has anyone else seen this?

Matthieu



The xlf90 comlpaint was (probably useless):


/usr/bin/cpp -P -std=c89 -DHAVE_CONFIG_H -DABINITGW -I. -I. -I../.. -I/home/pcpm/mverstra/CODES/ABINIT/abinit-5.3.4/lib/netcdf -I../defs abinit.F90 > abinit_cpp.f90
/usr/local/mpich/bin/mpif90 -I. -I. -I../.. -I/home/pcpm/mverstra/CODES/ABINIT/abinit-5.3.4/lib/netcdf -I../defs -qsuffix=cpp=F90:f=f90 -qfree=f90 -O3 -qmaxmem=65536 -qspill=2000 -qarch=auto -qtune=auto -qcache=auto -qstrict -qsuppress=1520-022:1520-031 -c -o abinitgw-abinit.o abinit_cpp.f90
** abinit === End of Compilation 1 ===
EXCEPTION terminates program: no handler for exception.
Exception of type: SIGBUS 10 at 00016800. Regs:
00000000 BFFFF070 00000000 000001DA 00000003 0029AF3C 0029AF2C 0029AF3C
00001F0C 00000000 00000768 0043D010 00008080 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 BFFFF394 00000028 00000009 00242960 BFFFF070 00016750
resume: cr: lr: ctr: xer: fpscr: msr: mq:
00000000 48000284 00016784 90002A80 00000000 82020000 0000D930 00000000
Traceback:
Line ? Disp 00016800 ??? Dsa: BFFFF070
Line ? Disp 00016A2C ??? Dsa: BFFFF0E0
Line ? Disp 00016BB8 ??? Dsa: BFFFF150
Line ? Disp 00003398 ??? Dsa: BFFFF1C0
Line ? Disp 00002AFC ??? Dsa: BFFFF220
Line ? Disp 0000264C ??? Dsa: BFFFF2E0
--- End of call chain ---
1501-511 Compilation failed for file abinit_cpp.f90.
ABINIT WRAPPER END
make[1]: *** [abinitgw-abinit.o] Error 217



--
================================================================
Dr. Matthieu Verstraete mailto:mjv500@york.ac.uk
Dept. of Physics, University of York, tel: +44 1904 43 22 08
Heslington, YO10 5DD York, United Kingdom fax: +44 1904 43 22 14



Archive powered by MHonArc 2.6.16.

Top of Page