PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

MM5 MPP - compiling problems

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
katja-t



Joined: 19 Jun 2006
Posts: 2

PostPosted: Mon Jun 19, 2006 3:37 am    Post subject: MM5 MPP - compiling problems Reply with quote

Hi,

I'm working on a Linux Cluster (DualCore Opteronen) with MPI-CH1.2.7 and PGI6.1.
When I try to compile MM5-MPP I get the following error message:

/home/trachte/software/mpich/bin/mpicc -c -I/home/trachte/software/mpich/include
-I../../MPP -I../../MPP/RSL -I../../pick -I../../MPP/debug -I../../MPP/RSL/RSL -DMPP1 -DIOR=2 -DIWORDSIZE=4 -DRWORDSIZE=4 -DLWORDSIZE=4 -DASSUME_HOMOGENEOUS_E NVIRONMENT=1 -DMPI -I/home/trachte/software/mpich/include milliclock.c
/home/trachte/software/mpich/bin/mpif90 -o mm5.mpp addall.o addrx1c.o addrx1n.o bdyin.o bdyrst.o bdyten.o bdyval.o cadjmx.o coef_diffu.o condload.o consat.o con vad.o couple.o date.o dcpl3d.o dcpl3dwnd.o decouple.o define_comms.o diffu.o dif fth.o diffthd.o diffmoi.o diffintp.o dm_io.o dots.o dtfrz.o fillcrs.o fkill_mode l.o gamma.o gauss.o hadv.o init.o initsav.o initts.o kfbmdata.o kill_model.o lb_ alg.o lbdyin.o mhz.o mm5.o mp_equate.o mp_initdomain.o mp_shemi.o mparrcopy.o mp aspect.o nconvp.o nudge.o output.o outsav.o outtap.o outts.o outts_c.o param.o p aramr.o rdinit.o rho_mlt.o savread.o settbl.o setvegfr.o sfcrad.o shutdo.o slab. o solar1.o solve.o sound.o subch.o trans.o transm.o upshot_mm5.o vadv.o vadv2.o vecgath.o write_big_header.o write_fieldrec.o write_flag.o exmoiss.o cup.o cupara3.o maximi.o minimi.o mrfpbl.o tridi2.o init nest.o chknst.o nstlev1.o nstlev2.o nstlev3.o nstlev4.o nstlev5.o mp_stotndt.o smt2.o bcast_size.o merge_size.o mp_feedbk.o rdter.o lwrad.o swrad.o milliclock.o ./../MPP/RSL/RSL/librsl.a -DDEC_ALPHA -O2 -Mcray=pointer -tp p6 -Mnoframe -byteswapio -L/home/trachte/software/mpich/lib -lfmpich -lmpich
/usr/bin/ld: /crtbegin.o: No such file: No such file or directory
make[1]: [all] Error 2 (ignored)
/bin/mv mm5.mpp ../../Run/mm5.mpp
/bin/mv: cannot stat `mm5.mpp': No such file or directory
make[1]: [all] Error 1 (ignored)
make[1]: Leaving directory `/home/trachte/MM5/MPP/build'

I hope someone can help me to fix my problem
Thanks a lot!

Best Regards
Katja
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6146
Location: The Portland Group Inc.

PostPosted: Mon Jun 19, 2006 2:33 pm    Post subject: Reply with quote

Hi Katja,

Missing 'crtbegin.o' usually indicates that your install failed for some reason. Are you able to compile a simple hello world program? If so, are you able to compile it with the "-tp p6" flag? Also, what OS are you using?

As a side note, you should remove the "-tp p6" flag since this tells the compiler to generate code for a 32-bit Pentium III system. The flag for 32-bit Opteron is "-tp k8-32" and 64-bit Opteron is "-tp k8-64".

- Mat
Back to top
View user's profile
katja-t



Joined: 19 Jun 2006
Posts: 2

PostPosted: Wed Jun 21, 2006 12:42 am    Post subject: Reply with quote

Hi Mat,

I'm using Debian GNU/Linux with 64-bit Opteronen. So I've been changing the "-tp p6" flag to "-tp k64" and MM5 MPP is running now!

Thanks a lot!
Katja
Back to top
View user's profile
guvac



Joined: 08 Sep 2004
Posts: 1

PostPosted: Thu Jun 29, 2006 8:23 am    Post subject: Reply with quote

Para el error:

/usr/bin/ld:/crtbegin.o:
No such file: No such file or directory

Tienes que editar localrc y agregar la siguiente ruta en la linea que dice:
set GCCDIR=/usr/lib/gcc-lib/ii386-redhat-linux/2.96;

Esto es un caso, debe de ser libreria mayor a 2.4

Espero que esto te sirva
Saludos.
Gustavo
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group