Petschska All American 1182 Posts user info edit post |
So I'm trying to install CPMD http://www.cpmd.org/ onto a machine with FC5. I have figured out that gcc is not a viable compiler for this program. So I installed the Intel Fortran Compiler 9.0. I then invoke the compiler. The machine is a PIII 1 GHz, so I created a Makefile for CPMD for the profile LINUX-ALPHA (Is that the correct profile?). Then I modified the Makefile to use the ifort command instead of the fort command and change the bin & source destinations. I then issued the make command. The following is the output:
Quote : | "rm -f cpmd.f /lib/cpp -P -C -traditional -D__alpha -DPOINTER8 -D__DERF -DFFT_DEFAULT -DALPHALINUX -DMYRINET ./cpmd.F /usr/local/lib/cpmd/cpmd.f ifort -fast -arch host -c /usr/local/lib/cpmd/cpmd.f -o /usr/local/lib/cpmd/cpmd.o rm -f softex.f /lib/cpp -P -C -traditional -D__alpha -DPOINTER8 -D__DERF -DFFT_DEFAULT -DALPHALINUX -DMYRINET ./softex.F /usr/local/lib/cpmd/softex.f ifort -fast -arch host -c /usr/local/lib/cpmd/softex.f -o /usr/local/lib/cpmd/softex.o rm -f envir.f /lib/cpp -P -C -traditional -D__alpha -DPOINTER8 -D__DERF -DFFT_DEFAULT -DALPHALINUX -DMYRINET ./envir.F /usr/local/lib/cpmd/envir.f ifort -fast -arch host -c /usr/local/lib/cpmd/envir.f -o /usr/local/lib/cpmd/envir.o rm -f setcnst.f /lib/cpp -P -C -traditional -D__alpha -DPOINTER8 -D__DERF -DFFT_DEFAULT -DALPHALINUX -DMYRINET ./setcnst.F /usr/local/lib/cpmd/setcnst.f ifort -fast -arch host -c /usr/local/lib/cpmd/setcnst.f -o /usr/local/lib/cpmd/setcnst.o rm -f azzero.f /lib/cpp -P -C -traditional -D__alpha -DPOINTER8 -D__DERF -DFFT_DEFAULT -DALPHALINUX -DMYRINET ./azzero.F /usr/local/lib/cpmd/azzero.f ifort -fast -arch host -c /usr/local/lib/cpmd/azzero.f -o /usr/local/lib/cpmd/azzero.o rm -f control.f /lib/cpp -P -C -traditional -D__alpha -DPOINTER8 -D__DERF -DFFT_DEFAULT -DALPHALINUX -DMYRINET ./control.F /usr/local/lib/cpmd/control.f make: *** No rule to make target `/usr/local/lib/cpmd/irat.inc', needed by `control.o'. Stop." |
The makefile is long so I won't post it. Any help or suggestions? I tried online guides, etc. but they have been unhelpful. I'm not well versed with linux so I think it's something simple that I just can't see.
[Edited on June 9, 2006 at 3:54 PM. Reason : added a step]6/9/2006 3:52:35 PM |
Petschska All American 1182 Posts user info edit post |
tried it under another profile and recieved the same error. 6/12/2006 10:41:02 AM |
tjoshea All American 4906 Posts user info edit post |
http://homepages.nyu.edu/~mt33/abstracts/manual/node3.html
[Edited on June 12, 2006 at 10:50 PM. Reason : .] 6/12/2006 10:50:01 PM |
Petschska All American 1182 Posts user info edit post |
^ Wasn't all that helpful.
Here's the personal configuration section of my makefile. All fortran-able people would be appreciated.
Quote : | "#---------------------------------------------------------------------------- # SHELL = /bin/sh # #--------------- Default Configuration for LINUX-ALPHA --------------- SRC = . DEST = /usr/local/lib/cpmd BIN = /usr/bin FFLAGS = LFLAGS = -lcxml CFLAGS = -D__alpha CPP = /lib/cpp -P -C -traditional CPPFLAGS = -D__alpha -DPOINTER8 -D__DERF -DFFT_DEFAULT -DALPHALINUX \ -DMYRINET NOOPT_FLAG = CC = cc -c -O FC = ifort -fast -arch pn2 -c LD = ifort -fast -arch pn2 AR = /usr/bin/ar -r #---------------------------------------------------------------------------- # Personal Configuration #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # End of Personal Configuration #----------------------------------------------------------------------------" |
6/15/2006 2:16:19 PM |
bous All American 11215 Posts user info edit post |
why alpha 6/16/2006 12:29:05 AM |
Petschska All American 1182 Posts user info edit post |
^ What would you suggest?
Possible makefile configurations include:
COMPAQ-SC80 CRAY-C94 CRAY-T3E CRAY-T90 CRAY-X1-32-MPI CRAY-X1-64 CRAY-XT3 CRAY-YMP DEC-ALPHA DEC-ALPHA-MPI FUJITSU-PRIMEPOWER FUJITSU-VPP FUJITSU-VPP5000 FUJITSU-VPP5KJP FUJITSU-VPP5KJP-QMMM FUJITSU-VPP-JPN FUJITSU-VPP-MPI FUJITSU-VPP-MPJP HITACHI-SR11000K1 HITACHI-SR11000K1-QMMM HITACHI-SR11KJP HITACHI-SR11KJP-QMMM HITACHI-SR2201 HITACHI-SR8000 HITACHI-SR8KJP HITACHI-SR8KJP-QMMM HPUX_IA64 HPUX_IA64-MPI HPUX_PA20 HPUX_PA20-MPI IBM-270 IBM-BGL IBM-BGL-HOT IBM-JS20-ATLAS IBM-JS20-ATLAS-MPI IBM-JS20-ESSL IBM-JS20-ESSL-MPI IBM-JS20-ESSL-MPI-SMP IBM-JS20-ESSL-SMP IBM-JS20-GOTO-ESSL IBM-JS20-GOTO-ESSL-MPI IBM-JS20-GOTO-ESSL-MPI-SMP IBM-JS20-GOTO-ESSL-SMP IBM-PWR5-AIX-ESSL IBM-PWR5-AIX-ESSL-MPI IBM-PWR5-AIX-ESSL-MPI-SMP IBM-PWR5-AIX-ESSL-SMP IBM-PWR5-PWRLinux-ATLAS IBM-PWR5-PWRLinux-ATLAS-MPI IBM-PWR5-PWRLinux-ESSL IBM-PWR5-PWRLinux-ESSL-MPI IBM-PWR5-PWRLinux-ESSL-MPI-SMP IBM-PWR5-PWRLinux-ESSL-SMP IBM-RISC IBM-SP2 IBM-SP3 IBM-SP3-SMP IBM-SP4 IBM-SP4-64 IBM-SP4-SMP IBM-SP4-SMP-64 IFORT-AMD64 IFORT-AMD64-MPI LINUX-ALPHA LINUX-ALPHA-MPI LINUX_IA64_INTEL LINUX_IA64_INTEL-MPI LINUX_IA64_INTEL-MPJ LINUX_IA64_INTEL-MPJ-QMMM MACOSX-XLF-G5 MACOSX-XLF-G5-MPI NEC-SX4 NEC-SX5 NEC-SX5-MPI NEC-SX5-QMMM NEC-SX6-ES NEC-SX6-ES-QMMM PATHSCALE-AMD64 PC-ABSOFT PC-ABSOFT-MPI PC-GFORTRAN PC-IFC PC-IFC-MPI PC-IFC-P4 PC-IFC-P4-JP PC-IFC-P4-JP-QMMM PC-IFC-P4-MPI PC-IFC-P4-MPJ PC-IFC-P4-MPJ-QMMM PC-PGI PC-PGI-MPI PC-PGI-MPI-QMMM PC-PGI-QMMM PGI-AMD64 PGI-AMD64-MPI SGI-ALTIX3900 SGI-ALTIX3900-MPI SGI-OR3800-MPI SGI-ORIGIN SGI-ORIGIN-MPI SUN SUN-OPTERON-32BIT SUN-OPTERON-32BIT-MPICH SUN-OPTERON-64BIT SUN-OPTERON-64BIT-MPICH SUN-ULTRA3-32BIT SUN-ULTRA3-32BIT-MPI SUN-ULTRA3-64BIT SUN-ULTRA3-64BIT-MPI WINNT-GFORTRAN
[Edited on June 19, 2006 at 2:33 PM. Reason : made list more legible] 6/19/2006 2:19:08 PM |