installation errors, Permission denied

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
neogien

installation errors, Permission denied

#1 Post by neogien » Fri Oct 20, 2006 3:38 am

&| Dear VASP users
I'm installing parallel version vasp4.6 on my linux P4 cluster computer.
Redhat linux and pgf90 compiler had supported and I successfully had installed BLACS and SCALAPACK.
Following errors are occured during vasp installation
I tried to change linux shell, but it was not solved.


./preprocess <base.F | /usr/bin/cpp -P -C -traditional >base.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
/bin/sh: line 1: ./preprocess: Permission denied
mpif90 -O3 -c base.f90
./preprocess <mpi.F | /usr/bin/cpp -P -C -traditional >mpi.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
/bin/sh: line 1: ./preprocess: Permission deniedmpif90 -O3 -c mpi.f90
./preprocess <smart_allocate.F | /usr/bin/cpp -P -C -traditional >smart_allocate.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
/bin/sh: line 1: ./preprocess: Permission denied
mpif90 -O3 -c smart_allocate.f90
./preprocess <xml.F | /usr/bin/cpp -P -C -traditional >xml.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
/bin/sh: line 1: ./preprocess: Permission denied
mpif90 -O3 -c xml.f90
./preprocess <constant.F | /usr/bin/cpp -P -C -traditional >constant.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
/bin/sh: line 1: ./preprocess: Permission denied
mpif90 -O3 -c constant.f90
./preprocess <jacobi.F | /usr/bin/cpp -P -C -traditional >jacobi.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
/bin/sh: line 1: ./preprocess: Permission denied
mpif90 -O3 -c jacobi.f90
./preprocess <main_mpi.F | /usr/bin/cpp -P -C -traditional >main_mpi.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
/bin/sh: line 1: ./preprocess: Permission denied
.
.
.
mpif90 -O0 -c main.f90
rm -f vasp
mpif90 -o vasp main.o base.o mpi.o smart_allocate.o xml.o constant.o jacobi.o main_mpi.o scala.o asa.o lattice.o poscar.o ini.o setex.o radial.o pseudo.o mgrid.o mkpoints.o wave.o wave_mpi.o symmetry.o symlib.o lattlib.o random.o nonl.o nonlr.o dfast.o choleski2.o mix.o charge.o xcgrad.o xcspin.o potex1.o potex2.o metagga.o constrmag.o pot.o cl_shift.o force.o dos.o elf.o tet.o hamil.o steep.o chain.o dyna.o relativistic.o LDApU.o sphpro.o paw.o us.o ebs.o wavpre.o wavpre_noio.o broyden.o dynbr.o rmm-diis.o reader.o writer.o tutor.o xml_writer.o brent.o stufak.o fileio.o opergrid.o stepver.o dipol.o xclib.o chgloc.o subrot.o optreal.o davidson.o edtest.o electron.o shm.o pardens.o paircorrection.o optics.o constr_cell_relax.o stm.o finite_diff.o elpol.o setlocalpp.o fftmpiw.o fftmpi_map.o fft3dlib.o /home/inflames/lib/lib/libfftw3.a -L../vasp.4.lib -ldmy ../vasp.4.lib/linpack_double.o ../vasp.4.lib/lapack_double.o /home/inflames/lib/blas_LINUX.a
/usr/bin/ld: cannot open main.o: No such file or directory
make: *** [vasp] Error 2


Why all "permission denied" massages are appeare??
and What is the meaning of the final error??

Though I'm a starter, I think these errors are not significant. Probably just due to some mishandled makefiles or settings.

Please check the errors and let me know what was wrong.
Last edited by neogien on Fri Oct 20, 2006 3:38 am, edited 1 time in total.

pavel
Newbie
Newbie
Posts: 20
Joined: Tue Oct 17, 2006 2:08 pm
License Nr.: FA513901
Location: Karlsruhe, Germany

installation errors, Permission denied

#2 Post by pavel » Fri Oct 20, 2006 8:55 am

These errors are significant: preprocessing and compilation failed.
Try to change to vasp directory and run commands

Code: Select all

ls -l ./preprocess
chmod u+x ./preprocess
ls -l ./preprocess
If sucessful you will see that permission to execute was changed. Then try to run make once again.
Last edited by pavel on Fri Oct 20, 2006 8:55 am, edited 1 time in total.

neogien

installation errors, Permission denied

#3 Post by neogien » Mon Oct 23, 2006 5:57 am

Thank you!! Mr. Pavel.
Permission problems are probably solved.
However, there are still some problems as follows.


./preprocess <base.F | /usr/bin/cpp -P -C -traditional >base.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
mpif90 -O3 -c base.f90
./preprocess <mpi.F | /usr/bin/cpp -P -C -traditional >mpi.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
mpif90 -O3 -c mpi.f90
./preprocess <smart_allocate.F | /usr/bin/cpp -P -C -traditional >smart_allocate.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
mpif90 -O3 -c smart_allocate.f90
./preprocess <xml.F | /usr/bin/cpp -P -C -traditional >xml.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500
mpif90 -O3 -c xml.f90
PGF90-S-0034-Syntax error at or near end of line (xml.f90: 1545)
PGF90/any Linux/x86 5.2-4: compilation completed with severe errors
make: *** [xml.o] Error 2

I wonder it is due to my poor base on the Linux system.
Can it be solved easily? or Should I ask advice of my machine concultant?
Last edited by neogien on Mon Oct 23, 2006 5:57 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

installation errors, Permission denied

#4 Post by admin » Tue Oct 24, 2006 11:47 am

please have a look at line 1545 of xml.f90. I am not aware that this ever caused compilation problems. Please check if the pre-compiler produced a reasonable .f90 file
Last edited by admin on Tue Oct 24, 2006 11:47 am, edited 1 time in total.

Post Reply