Installing problem with tamc_run.o

joanyi Chen jny... at gmail.com
Sat Oct 22 02:25:00 UTC 2011


Hi Alin,

Thanks for quick reply.

Here's my arch file:

CC       = cc
CPP      =
FC       = mpif90
LD       = mpif90
AR       = ar -r
DFLAGS   = -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -
D__FFTW3 -D__LIBINT -D__HAS_NO_ISO_C_BINDING
CPPFLAGS =
INTEL_INC = /aracbox/intel/mkl/10.1.021/include
LIBINT_INC = $(HOME)/libint-1.1.4/include
MPI_INC  = -I$(HOME)/mpich2-install/include
FFTW_INC = $(HOME)/fftw-3.3/include
FCFLAGS  = $(DFLAGS) -I$(LIBINT_INC) -I$(INTEL_INC) -I$(MPI_INC) -I$
(FFTW_INC) -O2 -xW -heap-arrays 64 -funroll-loops -fpp -free
FCFLAGS2 = $(DFLAGS) -I$(LIBINT_INC) -I$(INTEL_INC) -I$(MPI_INC) -O1 -
xW  -heap-arrays 64 -fpp -free
LDFLAGS  = $(FCFLAGS) -I$(INTEL_INC)

FFTW_LIB = $(HOME)/fftw-3.3/
INTEL_LIB = /aracbox/intel/mkl/10.1.021/lib/
LIBINT   = $(HOME)/libint-1.1.4/
LIBS     =-L$(HOME)/ -lscalapack -lblacsF77 -lblacsC -lblacs -
lblacsF77 -lblacsC -llapack  \
            $(HOME)/soft/cp2k-2.1/tools/hfx_tools/libint_tools/
libint_cpp_wrapper.o \
            $(HOME)/cp2k/lib/libgoto.a \
            $(HOME)/mpich2-1.4.1p1/lib/libmpich.a \
            $(HOME)/cp2k/tools/hfx_tools/libint_tools/
libint_cpp_wrapper.o \
            $(LIBINT)/lib/libderiv.a \
            $(LIBINT)/lib/libint.a \
            -lstdc++ \
            $(FFTW_LIB)/lib/libfftw3.a \

OBJECTS_ARCHITECTURE = machine_intel.o

tamc_run.o: tamc_run.F
        $(FC) -c $(FCFLAGS2) $<


and compiler I use
cluster cp2k/arch> ifort -v
Version 10.1


After I removed the tamc_run.F and did a cvs update, the error is the
same as I previously pasted. Should I change to another compiler like
gfortran or to use a updated compiler?

regards,
Joan


On 10月22日, 上午8時10分, Alin Marin Elena <alinm... at gmail.com> wrote:
> Hi Joan,
>
> In addition to my previous email, can you also add the error that you
> get when using the tamc_run.F file from cvs?
> just remove the tamc_run.F file and do a cvs update.
>
> It looks to me you are using a changed version of the file.
>
> I have also compiled it with
> alin at stokes1:~> ifort -v
> Version 12.0.0
>
> and I had no issues.
>
> Alin
>
> On Friday 21 October 2011 09:27:41 joanyi Chen wrote:
>
>
>
> > Dear all,
>
> > I try to install cp2k on Linux-SUSE and encoutered some problems.
>
> > Here is the error during compiling.
>
> > fortcom: Error: /home/jnch/cp2k/makefiles/../src/tamc_run.F, line
> > 1036: A pointer dummy argument with the INTENT(IN) attribute shall not
> > appear as an actual argument if the associated dummy argument has the
> > INTENT(OUT) or INTENT(INOUT) attribute.   [AVERAGES]
> >       CALL HMCsampler
> > (globenv,force_env,averages,r,mc_par,simpar,move,gmoves,rng_stream_mc,outpu­t
> > _unit,fz,zbuff,error=error) -----------------------------------------^
> > fortcom: Error: /home/jnch/cp2k/makefiles/../src/tamc_run.F, line
> > 1036: This name does not have a type, and must have an explicit
> > type.   [MOVE]
> >       CALL HMCsampler
> > (globenv,force_env,averages,r,mc_par,simpar,move,gmoves,rng_stream_mc,outpu­t
> > _unit,fz,zbuff,error=error)
> > ------------------------------------------------------------------^
> > fortcom: Error: /home/jnch/cp2k/makefiles/../src/tamc_run.F, line
> > 1036: A pointer dummy argument with the INTENT(IN) attribute shall not
> > appear as an actual argument if the associated dummy argument has the
> > INTENT(OUT) or INTENT(INOUT) attribute.   [GMOVES]
> >       CALL HMCsampler
> > (globenv,force_env,averages,r,mc_par,simpar,move,gmoves,rng_stream_mc,outpu­t
> > _unit,fz,zbuff,error=error)
> > ----------------------------------------------------------------------- ^
> > fortcom: Error: /home/jnch/cp2k/makefiles/../src/tamc_run.F, line
> > 1036: A pointer dummy argument may only be argument associated with a
> > pointer.   [MOVE]
> >       CALL HMCsampler
> > (globenv,force_env,averages,r,mc_par,simpar,move,gmoves,rng_stream_mc,outpu­t
> > _unit,fz,zbuff,error=error)
> > ------------------------------------------------------------------^
> > compilation aborted for /home/jnch/cp2k/makefiles/../src/tamc_run.F (code
> > 1)
> > make[1]: *** [tamc_run.o] Error 1
>
> > I tried some ways to modify the tamc_run.F file, by erasing
> > "averages","gmoves" and "move" in the file. Obviously, I'm too naive :
> > -)
> > I also tried to edit the arch file by adding
> > tamc_run.o: tamc_run.F
> >         $(FC) -c $(FCFLAGS2) $<
> > from the information provided by intel
> >http://software.intel.com/en-us/articles/build-cp2k-using-intel-fortr...
> > iler-professional-edition/ (I read the part of "Known Issues or
> > Limitations", and assumed this command would pass the tamc_run.F )
> > Still, in vain. What else can I deal with it?
>
> > Thank you very much!
>
> > Joan
>
> --
>  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
>   ______________________________________________________________________- 隱藏被引用文字 -
>
> - 顯示被引用文字 -


More information about the CP2K-user mailing list