[CP2K:3419] Re: Installation problem: Can't open module file

Alin Marin Elena alinm... at gmail.com
Wed Aug 10 07:42:30 UTC 2011


Hi Janos,


Strange... can you add as an attachments this file?
 /home/daru/bin/cp2k/makefiles/../arch/daru_Linux-ia64-gfortran.popt

also... 
why don't you use the wrapper mpif90 for compiling and linking? Usually makes 
your life easier when comes to get the mpi headers and libs correctly...

Alin


On Tue 09 Aug 2011 16:53:11 Janos... at googlemail.com wrote:
> Dear Alin,
> 
> Thank you for your fast reply.
> Unfortunately without that slash I get the following error:
> 
> /home/daru/bin/cp2k/makefiles/../arch/daru_Linux-ia64-gfortran.popt:
> 28: *** commands commence before first target.  Stop.
> 
> have nice day,
> 
> Janos
> 
> On Aug 9, 6:44 pm, Alin Marin Elena <alinm... at gmail.com> wrote:
> > Hi Janos,
> > 
> > it may be the extra \ on this line            -lmpi\
> > 
> > regards,
> > Alin
> > 
> > On Tue 09 Aug 2011 09:36:27 Janos... at googlemail.com wrote:
> > > Dear all,
> > > 
> > > I try to compile cp2k in parallel but there is a problem I can not
> > > cope with:
> > > 
> > > I get the following error message:
> > > 
> > > /home/daru/bin/cp2k/makefiles/../src/machine.F:36.85:
> > > 
> > > emory, m_iargc, m_abort, m_chdir, m_loc_r, m_loc_c, m_mov,
> > > m_memory_details
> > > 
> > > 1
> > > Fatal Error: Can't open module file 'machine_gfortran.mod' for reading
> > > at (1): No such file or directory
> > > 
> > > some details:
> > > I use a modified arch file:
> > > CC       = cc
> > > CPP      =
> > > 
> > > FC       = gfortran44
> > > LD       = gfortran44
> > > 
> > > AR       = ar -r
> > > 
> > > CPPFLAGS =
> > > DFLAGS   = -D__GFORTRAN -D__FFTW3 -D__parallel -D__BLACS -D__SCALAPACK
> > > -D__FFTSG\
> > >         -I/home/daru/bin/mpich2-install/include/\
> > >         -I/home/daru/bin/fftw-3.2.2/api/\
> > > 
> > > FCFLAGS  = -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form
> > > $(DFLAGS)
> > > LDFLAGS  = $(FCFLAGS)
> > > LIBS     = /home/daru/bin/lib/blacsCinit_MPI-LINUX-1.a\
> > >            /home/daru/bin/lib/blacsF77init_MPI-LINUX-1.a\
> > >            /home/daru/bin/lib/blacs_MPI-LINUX-1.a\
> > >            /home/daru/bin/lib/libfftw3.a\
> > >            /home/daru/bin/lib/libmpl.a\
> > >            /home/daru/bin/lib/libscalapack.a\
> > >            /home/daru/bin/lib/blas_LINUX.a\
> > >            /home/daru/bin/lib/lapack_LINUX.a\
> > >            -lmpi\
> > > OBJECTS_ARCHITECTURE = machine_gfortran.o
> > > 
> > > (I had to add some -I, without that it didn't find mpif.h and fftw3.f)
> > > I use gfortran4.4, fftw-3.2.2, lapack-3.3.0, mpich2-1.3.2,
> > > scalapack-1.8.0
> > > I do the compiling on an AMD Opteron 6174 processors., on RadHat OS.
> > > 
> > > I'm rather starter with compiling so any suggestion is very much
> > > appreciated!
> > > 
> > > Janos
> > 
> > --
> >  Without Questions there are no Answers!
> >  _____________________________________________________________________
> >   Alin Marin ELENA
> >   Advanced Molecular Simulation Research Laboratory
> >   School of Physics, University College Dublin
> >   ----
> >   Ardionsamblú Móilíneach Saotharlann Taighde
> >   Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath
> > 
> >  
> > -------------------------------------------------------------------------
> > ---------- http://alin.elenaworld.net
> >   ______________________________________________________________________
> > 
> >  signature.asc
> > < 1KViewDownload
-- 
 Without Questions there are no Answers!
 _____________________________________________________________________
  Alin Marin ELENA
  Advanced Molecular Simulation Research Laboratory
  School of Physics, University College Dublin
  ----
  Ardionsamblú Móilíneach Saotharlann Taighde
  Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath

  -----------------------------------------------------------------------------------
  http://alin.elenaworld.net
  ______________________________________________________________________
-------------- next part --------------
Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9wZ3Atc2lnbmF0dXJlOyBuYW1lPSJzaWduYXR1cmUu
YXNjIg0KQ29udGVudC1EZXNjcmlwdGlvbjogVGhpcyBpcyBhIGRpZ2l0YWxseSBzaWduZWQgbWVz
c2FnZSBwYXJ0Lg0KDQotLS0tLUJFR0lOIFBHUCBTSUdOQVRVUkUtLS0tLQpWZXJzaW9uOiBHbnVQ
RyB2Mi4wLjE3IChHTlUvTGludXgpCgppUUVjQkFBQkFnQUdCUUpPUWpacUFBb0pFQ3MrTEVZV1Nq
VW9kQmtJQUxvTWVFdjM1ckpROGZiQ0h5N0l4RGNZCk5EY3NzL2pheHY5MXUzMUxVaEJzWDNkZkpF
QnNUTC9kM3hTcldyL2J6RFdwdGtMTEdzNFdnQXlKSGdaMzEveTIKaEZ1dTNQMDRFZGV6WnVQMnZs
Z3pzYStjY0RPTDhRZEpzd3lvM3VESmFucGg3NXF5aHFjb21DU1RRcFdNZXVCVwpxd3hIenJ1eXlL
OVZtSENtc1pwODZlRW4vblBTamVZN0NSd1ljWElqejVQVE11b0xxRndOaHQ2eHdHZ0l2eC8rCml1
cVBrYml3NjkwL3V6enBxT1lwcFAyVHlBMTFyL0V6RDdWWjV2RWh1RndIV0JOSXlDUnRlNzljdkR6
cWh0eWYKcDJPTXhlbkZzcm9DVmJVQmJTcG82WWphUlZvemlQQktlOXQrbzNaUEwxM2pNODA3UUJa
dU1iZG1GVm1mYTdFPQo9eDFiUwotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0K


More information about the CP2K-user mailing list