Hi again
Dos2unix solved the problem - thanks
- But when I try to compiler the openmp version at get the following
syntax errors in the file velo.f90
/opt/ibmcmp/xlf/11.1/bin/xlf90_r -c -O3 -q64 -qtune=pwr6 -qarch=pwr6 -
qmaxmem=-1 -qsmp=omp -qreport=smplist source/velo.f90
"velo.f90", line 115.8: 1514-050 (S) Specification statement is out of
order. Statement is ignored.
"velo.f90", line 115.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 146.8: 1514-426 (S) The directive specified for the
DO loop does not match the END PARALLEL DO directive, or no directive
matches the END PARALLEL DO directive.
"velo.f90", line 296.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 319.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO directive, or no directive matches
the END DO directive.
"velo.f90", line 347.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 379.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 383.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 414.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 418.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 449.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO directive, or no directive matches
the END DO directive.
"velo.f90", line 1036.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 1045.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 1047.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 1055.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 1057.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 1065.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO directive, or no directive matches
the END DO directive.
"velo.f90", line 1105.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 1114.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 1116.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 1124.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 1126.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 1134.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO directive, or no directive matches
the END DO directive.
"velo.f90", line 2125.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 2137.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 2139.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 2152.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 2155.13: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 2168.8: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 2171.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 2184.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO directive, or no directive matches
the END DO directive.
"velo.f90", line 2186.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 2194.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 2197.13: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 2205.8: 1514-426 (S) The directive specified for the
DO loop does not match the END DO NOWAIT directive, or no directive
matches the END DO NOWAIT directive.
"velo.f90", line 2208.10: 1515-019 (S) Syntax is incorrect.
"velo.f90", line 2216.5: 1514-426 (S) The directive specified for the
DO loop does not match the END DO directive, or no directive matches
the END DO directive.
** velo === End of Compilation 1 ===
1501-511 Compilation failed for file velo.f90.
make: *** [velo.o] Error 1
Seems like my compiler is not to happy with the syntax of lines like
this (line 347-348):
!$OMP DO COLLAPSE(3) &
!$OMP PRIVATE
(K,J,I,WP,WM,VP,VM,EPSWP,EPSWM,EPSVP,EPSVM,WOMY,VOMZ,RRHO,AH,DVDY,DWDZ,TXXP,TXXM,DTXXDX,DTXYDY,DTXZDZ,VTRM)
I'am using IBM XLF v11.1 compiler on a Power6 platform with Suse v10
On 17 Mar., 12:52, Christian Rogsch <
rog...@uni-wuppertal.de> wrote:
> Hi,
>
> I think this a windows-linux problem, because your error message is
> based on your input file (.fds). I think you have to check that you
> have converted your windows .fds-file to a linux .fds-file. The
> problem is that windows uses other "control characters" for line
> handling than linux. There is a tool dos2unix which should help you.
> Furthermore there are no changes in the read subrountines, thus this
> is not aOpenMPproblem.
> If you compile the code yourself, compile 2 versions of the code: withOpenMPsettings (see at your compiler settings) and withoutOpenMP.
> Then try your file. Normally both versions should be able to read the
> file or both are not able to read the file.
>
> Here are full optimized compiler setting for xlf compiler on an AIX-
> System andOpenMP. The _r compiler is for thread-save compiling, thus
> > > theOpenMPsetting will be added to the official sourcecode. I'm
> > > actually doing some tests to simplify the usage of theOpenMP-Threads
> > > via in input in the MISC line. I think at the next week the first
> > > parts of theOpenMPimplementation is done, so you have to download