<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><br>I attached the make.sys file produced by configure. When I used this file in compilation "Make. cannot load cpp. Stop" error message appears. When I used the Make.ia64 file "cannot execute /opt/langtools/lbin/cpp while compiling iotk_base.f90" message appers. <br><br>In both cases there is a complain about cpp compiler. Can you check whether cpp is installed properly just typing "cpp" in a command line. <br><br>Bests,<br>Eyvaz.<br><br>----- Orjinal Mesaj -----<br>Kimden: Andrea Ferretti <br>Tarih: Tuesday, February 6, 2007 6:46 pm<br>Konu: Re: [Pw_forum] compilation on itanium2 based HP-UX ia64<br>Kime:
pw_forum@pwscf.org<br><br>> <br>> please, could you post the errors given by the compiler<br>> and the make.sys file produced during configuration ??<br>> <br>> andrea <br>> <br>> > Dear Dr. Isaev,<br>> > I checked this file and also made several changes but it does <br>> not work. <br>> > <br>> > Best regards,<br>> > Gokhan<br>> > <br>> > ----- Orjinal Mesaj -----<br>> > Kimden: Eyvaz Isaev <br>> > Tarih: Tuesday, February 6, 2007 2:54 pm<br>> > Konu: Re: [Pw_forum] compilation on itanium2 based HP-UX ia64<br>> > Kime: pw_forum@pwscf.org<br>> > <br>> > > Hi Gokhan,<br>> > > <br>> > > Please have a look at /install/Make.ia64 file. <br>> > > <br>> > > Bests,<br>> > > Eyvaz.<br>> > > <br>> > > ----- Original Message ----<br>> > > From: Gokhan GOKOGLU <br>> > > To: pw_forum@pwscf.org<br>> >
> Sent: Tuesday, February 6, 2007 2:53:56 PM<br>> > > Subject: [Pw_forum] compilation on itanium2 based HP-UX ia64<br>> > > <br>> > > Dear all, <br>> > > How can I compile the espresso 3.2 on a ia64 itanium2 based <br>> HP-<br>> > > UX machine? I tried many ways <br>> > > but failed. Someone could help me ? <br>> > > _______________________________________________<br>> > > Pw_forum mailing list<br>> > > Pw_forum@pwscf.org<br>> > > <a target="_blank" href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> ____________________________________________________________________________________> > Do you Yahoo!?<br>> > > Everyone is raving about the all-new Yahoo! Mail
beta.<br>> > > <a target="_blank" href="http://new.mail.yahoo.com">http://new.mail.yahoo.com</a><br>> > > _______________________________________________<br>> > > Pw_forum mailing list<br>> > > Pw_forum@pwscf.org<br>> > > <a target="_blank" href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>> > > <br>> > > -- <br>> > > This message has been scanned for viruses and<br>> > > dangerous content by MailScanner, and is<br>> > > believed to be clean.<br>> > > <br>> > > <br>> > <br>> _______________________________________________<br>> Pw_forum mailing list<br>> Pw_forum@pwscf.org<br>> <a target="_blank" href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>> <br>> -- <br>> This message has been scanned for viruses
and<br>> dangerous content by MailScanner, and is<br>> believed to be clean.<br>> <br>> <br></div><div>Dear Andrea,</div>
<div>I attached the make.sys file produced by configure. When I used this file in compilation "Make. cannot load cpp. Stop" error message appears. When I used the Make.ia64 file "cannot execute /opt/langtools/lbin/cpp while compiling iotk_base.f90" message appers. </div>
<div> </div>
<div>Best regards,</div>
<div>Gokhan</div>
<div> </div>
<div> <font size="2">
<p> </p></font><br><br>----- Orjinal Mesaj -----<br>Kimden: Andrea Ferretti <br>Tarih: Tuesday, February 6, 2007 6:46 pm<br>Konu: Re: [Pw_forum] compilation on itanium2 based HP-UX ia64<br>Kime: pw_forum@pwscf.org<br><br>> <br>> please, could you post the errors given by the compiler<br>> and the make.sys file produced during configuration ??<br>> <br>> andrea <br>> <br>> > Dear Dr. Isaev,<br>> > I checked this file and also made several changes but it does <br>> not work. <br>> > <br>> > Best regards,<br>> > Gokhan<br>> > <br>> > ----- Orjinal Mesaj -----<br>> > Kimden: Eyvaz Isaev <br>> > Tarih: Tuesday, February 6, 2007 2:54 pm<br>> > Konu: Re: [Pw_forum] compilation on itanium2 based HP-UX ia64<br>> > Kime: pw_forum@pwscf.org<br>> > <br>> > > Hi Gokhan,<br>> > > <br>> > > Please have a look at /install/Make.ia64 file. <br>> > > <br>>
> > Bests,<br>> > > Eyvaz.<br>> > > <br>> > > ----- Original Message ----<br>> > > From: Gokhan GOKOGLU <br>> > > To: pw_forum@pwscf.org<br>> > > Sent: Tuesday, February 6, 2007 2:53:56 PM<br>> > > Subject: [Pw_forum] compilation on itanium2 based HP-UX ia64<br>> > > <br>> > > Dear all, <br>> > > How can I compile the espresso 3.2 on a ia64 itanium2 based <br>> HP-<br>> > > UX machine? I tried many ways <br>> > > but failed. Someone could help me ? <br>> > > _______________________________________________<br>> > > Pw_forum mailing list<br>> > > Pw_forum@pwscf.org<br><span>> > > <a target="_blank" href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a></span><br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> >
> <br>> > > <br>> ____________________________________________________________________________________> > Do you Yahoo!?<br>> > > Everyone is raving about the all-new Yahoo! Mail beta.<br><span>> > > <a target="_blank" href="http://new.mail.yahoo.com">http://new.mail.yahoo.com</a></span><br>> > > _______________________________________________<br>> > > Pw_forum mailing list<br>> > > Pw_forum@pwscf.org<br><span>> > > <a target="_blank" href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a></span><br>> > > <br>> > > -- <br>> > > This message has been scanned for viruses and<br>> > > dangerous content by MailScanner, and is<br>> > > believed to be clean.<br>> > > <br>> > > <br>> > <br>> _______________________________________________<br>> Pw_forum mailing list<br>>
Pw_forum@pwscf.org<br><span>> <a target="_blank" href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a></span><br>> <br>> -- <br>> This message has been scanned for viruses and<br>> dangerous content by MailScanner, and is<br>> believed to be clean.<br>> <br>> </div>
<div># make.sys. Generated from make.sys.in by configure.<br><br># compilation rules<br><br>.SUFFIXES :<br>.SUFFIXES : .o .c .f .f90<br><br># most fortran compilers can directly preprocess c-like directives: use<br># $(MPIF90) $(F90FLAGS) -c $<<br># if explicit preprocessing by the C preprocessor is needed, use:<br># $(CPP) $(CPPFLAGS) $< -o $*.F90 <br># $(MPIF90) $(F90FLAGS) -c $*.F90 -o $*.o<br># remember the tabulator in the first column !!!<br><br>.f90.o:<br> $(CPP) $(CPPFLAGS) $< -o $*.F90 <br> $(MPIF90) $(F90FLAGS) -c $*.F90 -o $*.o<br><br># .f.o and .c.o: do not modify<br><br>.f.o:<br> $(F77) $(FFLAGS) -c $<<br><br>.c.o:<br> $(CC) $(CFLAGS) -c $<<br><br><br># DFLAGS = precompilation options (possible arguments to -D and
-U)<br># used by the C compiler and preprocessor<br># FDFLAGS = as DFLAGS, for the f90 compiler<br># See include/defs.h.README for a list of options and their meaning<br># With the exception of IBM xlf, FDFLAGS = $(DFLAGS)<br># For IBM xlf, FDFLAGS is the same as DFLAGS with separating commas <br><br>DFLAGS = -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI -D__PARA<br>FDFLAGS = $(DFLAGS)<br><br># IFLAGS = how to locate directories where files to be included are<br># In most cases, IFLAGS = -I../include<br># If loading an external FFTW library, add the location of FFTW include files<br><br>IFLAGS = -I../include <br><br># MODFLAGS = flag used by f90 compiler to locate modules<br># You need to search for modules in ./, in ../iotk/src, in ../Modules<br># Some applications
also neeed modules in ../PW, ../PH, ../CPV<br><br>MODFLAGS = -I./ -I../Modules -I../iotk/src \<br> -I../PW -I../PH -I../CPV<br><br># Compilers: fortran-90, fortran-77, C<br># If a parallel compilation is desired, MPIF90 should be a fortran-90 <br># compiler that produces executables for parallel execution using MPI<br># (such as for instance mpif90, mpf90, mpxlf90,...);<br># otherwise, an ordinary fortran-90 compiler (f90, g95, xlf90, ifort,...)<br># If you have a parallel machine but no suitable candidate for MPIF90,<br># try to specify the directory containing "mpif.h" in IFLAGS<br># and to specify the location of MPI libraries in MPI_LIBS<br><br>MPIF90 = mpif90<br>#F90 =
f90<br>CC = cc<br>F77 = f90<br><br># C preprocessor and preprocessing flags - for explicit preprocessing, <br># if needed (see the compilation rules above)<br># preprocessing flags must include DFLAGS and IFLAGS<br><br>CPP = cpp<br>CPPFLAGS = -P -traditional $(DFLAGS) $(IFLAGS)<br><br># compiler flags: C, F90, F77<br># C flags must include DFLAGS and IFLAGS<br># F90 flags must include MODFLAGS, IFLAGS, and FDFLAGS with appropriate syntax<br><br>CFLAGS = -O3 $(DFLAGS) $(IFLAGS)<br>F90FLAGS = $(FFLAGS) $(FDFLAGS) $(IFLAGS) $(MODFLAGS)<br>FFLAGS = -O<br><br># compiler flags without optimization for
fortran-77<br># the latter is NEEDED to properly compile dlamch.f, used by lapack<br><br>FFLAGS_NOOPT = -O0<br><br># Linker and linker-specific flags (if any)<br># Typically LD coincides with F90 or MPIF90 - not actually used<br><br># LD = mpif90<br>LDFLAGS = <br><br># External Libraries (if any) : blas, lapack, fft, MPI<br><br># If you have nothing better, use the local copy : ../flib/blas.a<br><br>BLAS_LIBS = ../flib/blas.a<br><br># The following lapack libraries will be available in flib/ :<br># ../flib/lapack.a : contains all needed routines<br># ../flib/lapack_atlas.a: only routines not present in the Atlas library<br># For IBM machines with essl: load essl BEFORE lapack !<br># remember that LAPACK_LIBS precedes BLAS_LIBS in loading
order<br><br>LAPACK_LIBS = -llapack<br><br># nothing needed here if the the internal copy of FFTW is compiled<br># (needs -D__FFTW -D__USE_INTERNAL_FFTW in DFLAGS)<br><br>FFT_LIBS = <br><br># For parallel execution, the correct path to MPI libraries must<br># be specified in MPI_LIBS (except for IBM if you use mpxlf)<br><br>MPI_LIBS = <br><br># IBM-specific: MASS libraries, if available and if -D__MASS is defined in FDFLAGS<br><br>MASS_LIBS = <br><br># pgplot libraries (used by some post-processing tools)<br><br>PGPLOT_LIBS = <br><br># ar command and flags - for most architectures: AR = ar, ARFLAGS = ruv<br># ARFLAGS_DYNAMICS is used in iotk to produce a dynamical library,<br># for Mac OS-X with PowerPC and xlf compiler. In all other cases<br># ARFLAGS_DYNAMICS =
$(ARFLAGS)<br><br>AR = ar<br>ARFLAGS = ruv<br>ARFLAGS_DYNAMIC= ruv<br><br># ranlib command. If ranlib is not needed (it isn't in most cases) use<br># RANLIB = echo<br><br>RANLIB = ranlib<br><br># all internal and external libraries - do not modify<br><br>LIBOBJS = ../flib/ptools.a ../flib/flib.a ../clib/clib.a ../iotk/src/libiotk.a<br>LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FFT_LIBS) $(MPI_LIBS) $(MASS_LIBS) $(PGPLOT_LIBS)<br><br></div></div><br></div></div><br>
<hr size=1>Everyone is raving about <a href="http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/mailbeta">the all-new Yahoo! Mail beta.</a></body></html>