Dear SIESTA users,
I've been using SIESTA on Intel for a long time but now trying to
compile siesta-3.1-pl9 on IBM power6 and have some problems.

To be able to compile I have to add proper preprocessing directives
(qsuffix=cpp=f90, see attached arch.make) and do the same manually in
the arch.make in FOX. Then I do make in FOX folder (successful) and
then make in Obj.



Then, most of the files are compiled and it stops with the following error:

mpxlf90_r -q64 -qhot -qarch=pwr6 -qtune=pwr6 -O2
/home/e/esargent/ovoznyy/SIESTA/Src/siesta-3.1-pl9/Src/xlf.f FoX/.FoX
 -o xlf
/scinet/tcs/Compilers/xlf///usr/bin/.orig/xlf90_r: 1501-218 (W) file
FoX/.FoX contains an incorrect file suffix
** cputim   === End of Compilation 1 ===
1501-510  Compilation successful for file xlf.f.
ld: 0711-711 ERROR: Input file FoX/.FoX is empty.
        The file is being ignored.
gmake: *** [xlf] Error 8




I have to note that I had to remove the C symbol on line 15 in xlf.f,
otherwise the compilation stopped with error:

mpxlf90_r -q64 -qhot -qarch=pwr6 -qtune=pwr6 -O2
/home/e/esargent/ovoznyy/SIESTA/Src/siesta-3.1-pl9/Src/xlf.f FoX/.FoX
 -o xlf
/scinet/tcs/Compilers/xlf///usr/bin/.orig/xlf90_r: 1501-218 (W) file
FoX/.FoX contains an incorrect file suffix
"/home/e/esargent/ovoznyy/SIESTA/Src/siesta-3.1-pl9/Src/xlf.f", line
15.1: 1515-019 (S) Syntax is incorrect.
** cputim   === End of Compilation 1 ===
1501-511  Compilation failed for file xlf.f.
gmake: *** [xlf] Error 1



I am not sure whether this is IBM related.
I would appreciate any comments.

Sincerely,
Alex.

Attachment: arch.make
Description: Binary data

Attachment: arch_FoX.make
Description: Binary data

Responder a