Did you make the change in the Makefile? # Choose compiler here. # Optimization flags are not really necessary, but do include # the OpenMP compiler flag if your system supports it and it is worth it. # #FC=ifort -openmp # -g -O1 -CB -ftrapuv # #FC=gfortran -fopenmp #
You have choose between Ifort or Gfortran.. and erase the '#' if you choose the gfortan, do: # FC=gfortran -fopenmp #_______________________ Guilherme Maia Santos Doutorando (PhD student) Multifunctional Devices Development Lab - MDDL Departamento de Física - DF (Departament of physics) Universidade Estadual de Maringá - UEM (State University of Maringá) University of Texas at San Antonio - UTSA Em Quinta-feira, 11 de Junho de 2015 8:35, "Ludwig, Stephan" <[email protected]> escreveu: Problems installing Util Optimizer Hi, I want to optimize a Basis set for As. Unfortunately I have proplems to install the optimization programm. typing 'make swarm simplex' in 'siesta-3.2-pl-5/Util/Optimizer' I receive the error message i1@QuanQal2:/home/siesta-3.2-pl-5/Util/Optimizer$ sudo make swarm simplex f77 -c io.f io_assign: Error on line 2: syntax error Warning on line 13: ignoring text after "end". Warning on line 13: local variable out never used Warning on line 13: local variable intend never used Error on line 13: Declaration error for intend: adjustable dimension on non-argument /usr/bin/f77: aborting compilation make: *** [io.o] Fehler 25 The io.f file looks like this SUBROUTINE io_assign(lun) integer intend(out) :: lun logical used integer iostat c c Looks for a free unit and assigns it to lun c do lun= 10, 99 inquire(unit=lun, opened=used, iostat=iostat) if (iostat .ne. 0) used = .true. if (.not. used) return enddo end SUBROUTINE io_assign Can anybody help me to find the syntax error? Best regards Stephan
