[Users] Porting problem on IBM ppc
Hee Il Kim
heeilkim at gmail.com
Tue Mar 13 23:22:15 CST 2007
Sorry Erik,
I didn't know that option should be given in comand line. I attached the log
files at configuration and building stages.
Hee Il
2007/3/14, Erik Schnetter <schnetter at cct.lsu.edu>:
>
> On Mar 13, 2007, at 21:54:59, Hee Il Kim wrote:
>
> > Thanks Erik,
> >
> > If I use xlc, I encounter "missing separator" problem and I can't
> > go further.
>
> I think you did not pass the option SILENT=no to make. Please try
> that; it will give more information.
>
> -erik
>
> --
> Erik Schnetter <schnetter at cct.lsu.edu>
>
> My email is as private as my paper mail. I therefore support encrypting
> and signing email messages. Get my PGP key from www.keyserver.net.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at cactuscode.org
> http://www.cactuscode.org/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cactuscode.org/pipermail/users/attachments/20070314/98fc24d6/attachment-0001.html
-------------- next part --------------
________________________________________________________________________
Cactus - version: 4.0.b16
if test "x"yes"" = "xyes" ; then \
echo Setup configuration bench \(yes\)?; \
read yesno rest; \
if test $? -ne 0 ; then \
yesno='no'; \
fi; \
fi; \
if [ "x$yesno" = "xno" -o "x$yesno" = "xn" -o "x$yesno" = "xNO" -o "x$yesno" = "xN" ] ; \
then \
echo Setup of configuration bench cancelled ; \
else \
echo Setting up new configuration bench ; \
if test -z "bench.th" || (test -n "bench.th" && test -r ""."/bench.th") ; \
then \
if ( perl -s lib/make/setup_configuration.pl bench) ; then : ; else\
echo "" ; \
echo "Error creating configuration bench" ; \
rm -f "/home/hmlee/Cactus/configs/bench/config-data/cctk_Config.h"; \
exit 2 ; \
fi ; \
if test -n "bench.th" ; \
then \
echo Using ThornList "."/bench.th ; \
cp "."/bench.th /home/hmlee/Cactus/configs/bench/ThornList ; \
fi ; \
if test -n "" ; \
then \
echo >> /home/hmlee/Cactus/configs/bench/ThornList ; \
fi ; \
echo ________________________________________________________________________ ; \
if test "x"yes"" = "xno" ; then \
gmake bench WARN=; \
else \
echo Use gmake bench to build the configuration. ; \
fi; \
else \
echo "ThornList "."/bench.th does not exist" ; \
exit 2; \
fi ; \
fi
Setup configuration bench (yes)?
Setting up new configuration bench
Creating new configuration bench.
Using configuration options from configure line
Setting THORNLIST to 'bench.th'
End of options from configure line
Adding configuration options from user defaults...
Setting HOST_MACHINE to 'ppc-ibm-linux-gnu'
Setting F77 to 'xlf90'
Setting F90 to 'xlf90'
Setting CC to 'xlc'
Setting CXX to 'xlC'
Setting F77FLAGS to '-q64 -qfixed'
Setting F90FLAGS to '-q64'
Setting FPPFLAGS to '-traditional'
Setting CFLAGS to '-q64'
Setting CXXFLAGS to '-q64'
Setting LIBDIRS to '/opt/ibmcmp/xlf/9.1/lib64 /opt/ibmcmp/vac/7.0/lib64 /opt/ibmcmp/vacpp/7.0/lib64'
Setting MPI to 'MPICH'
Setting MPICH_DEVICE to 'gm'
Setting MPICH_DIR to '/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh'
Setting MYRINET_DIR to '/opt/gm'
Setting PTHREADS to 'yes'
End of options from user defaults.
creating cache ./config.cache
checking host system type... powerpc-ibm-linux-gnu
checking whether make sets ${MAKE}... yes
checking whether the C compiler (xlc -q64 ) works...
yes
checking whether the C compiler (xlc -q64 ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether the C++ compiler (xlC -q64 ) works...
yes
checking whether the C++ compiler (xlC -q64 ) is a cross-compiler... no
checking whether we are using GNU C++... no
checking for ranlib... ranlib
checking for cpp... /lib/cpp
checking for cpp... /lib/cpp
checking for perl... perl
checking for ar... ar
checking for mkdir... mkdir
checking for bash... /bin/sh
Unknown Linux f90 compiler.
Please add appropriate information to
/home/hmlee/Cactus/lib/make/known-architectures/linux
and send the updated file to CactusMaint
We will try anyway ...
Setting CACHELINE_BYTES to 32
Setting CACHE_SIZE to 0*1024 bytes
checking how to run the C preprocessor... /lib/cpp
checking for ANSI C header files... yes
checking whether byte ordering is bigendian... yes
checking size of long long... 8
checking size of long int... 8
checking size of int... 4
checking size of short int... 2
checking size of long double... 8
checking size of double... 8
checking size of float... 4
checking size of char *... 8
checking for the null device... /dev/null
checking for gethostbyname... yes
checking if mode_t is defined... yes
checking for availability of gettimeofday timing... yes
checking if gettimeofday needs timezone... yes
checking for availability of getrusage timing... yes
checking for availability of _ftime timing... no
checking for time.h... yes
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for string.h... yes
checking for assert.h... yes
checking for sys/stat.h... yes
checking for getopt.h... yes
checking for dirent.h... yes
checking for regex.h... yes
checking for sys/filio.h... no
checking for sys/ioctl.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for netdb.h... yes
checking for arpa/inet.h... yes
checking for winsock2.h... no
checking for crypt.h... yes
checking for signal.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking if socklen_t is defined... yes
checking if SOCKET is defined... no
checking if __int64 is defined... yes
checking for vector... yes
checking for vector.h... yes
checking for getopt_long_only... yes
checking for working const... yes
checking for inline... inline
checking for C restrict... __restrict__
checking for C++ restrict... restrict
checking for C bool... no
checking for CXX bool... yes
checking for Fortran REAL*4... yes
checking for Fortran REAL*8... yes
checking for Fortran REAL*16... yes
checking for Fortran COMPLEX*8... yes
checking for Fortran COMPLEX*16... yes
checking for Fortran COMPLEX*32... yes
checking for crypt... no
checking for crypt in library crypt... yes
checking for finite... yes
checking for isnan... yes
checking for mkstemp... yes
checking for va_copy... no
checking for main in library c_r... no
checking for main in library pthread... yes
Configuring with MPI
MPICH selected
MPICH architecture is LINUX
Configuring with PTHREADS
creating cctk_Archdefs.h
creating make.arch.defn
creating cctk_Extradefs.h
creating make.extra.defn
updating cache ./config.cache
creating ./config.status
creating make.config.defn
creating make.config.deps
creating make.config.rules
creating cctk_Config.h
Determining number of fortran underscores...
Compiling test file with xlf90 -q64 -qfixed ...
** test === End of Compilation 1 ===
1501-510 Compilation successful for file fname_test.f.
Lowercase - No trailing underscore
Compiling test file with xlf90 -q64 -qfixed ...
** test_name === End of Compilation 1 ===
1501-510 Compilation successful for file fname_test.f.
Lowercase - No trailing underscore
Using ThornList ./bench.th
________________________________________________________________________
Use gmake bench to build the configuration.
________________________________________________________________________
-------------- next part --------------
if test ! -f "/home/hmlee/Cactus/configs/bench/config-data/cctk_Config.h" ; then \
echo ________________________________________________________________________;\
echo "Cactus - version: 4.0.b16";\
if test "x"yes"" = 'xno'; then\
if (! perl -s lib/make/setup_configuration.pl bench) ; then \
echo "" ; \
echo "Error reconfiguring configuration bench" ; \
rm -f "/home/hmlee/Cactus/configs/bench/config-data/cctk_Config.h" ; \
exit 2 ; \
fi \
else \
echo "Error: Configuration bench is incomplete.";\
echo "Please check the files in /home/hmlee/Cactus/configs/bench/config-data for error messages.";\
echo "You can try again to configure using gmake bench-config";\
echo "or delete this configuration with gmake bench-delete.";\
echo ________________________________________________________________________;\
exit 1; \
fi \
fi
if (perl -e 'exit ((stat shift)[9] > (stat shift)[9])' /home/hmlee/Cactus/configs/bench/config-info /home/hmlee/Cactus/lib/make/force-reconfigure); then \
echo ________________________________________________________________________;\
echo "Cactus - version: 4.0.b16";\
echo "Error: Configuration bench is out of date.";\
echo " Please reconfigure your configuration by running the command"; \
echo ;\
echo " gmake bench-reconfig"; \
echo ;\
echo " (It is likely that recent changes to the flesh require this.)";\
echo ________________________________________________________________________;\
exit 1;\
fi
if test "x0" = "x0" ; then \
echo ________________________________________________________________________;\
echo "Cactus - version: 4.0.b16"; \
echo "Building configuration bench"; \
echo ________________________________________________________________________;\
fi
________________________________________________________________________
Cactus - version: 4.0.b16
Building configuration bench
________________________________________________________________________
gmake -f /home/hmlee/Cactus/lib/make/make.configuration TOP=/home/hmlee/Cactus/configs/bench CCTK_HOME=/home/hmlee/Cactus
gmake[1]: Entering directory `/home/hmlee/Cactus'
if [ -r /home/hmlee/Cactus/configs/bench/config-data/make.thornlist ] ; then echo Reconfiguring thorns ; rm /home/hmlee/Cactus/configs/bench/config-data/make.thornlist ;\
else echo Processing CCL files ; fi
Processing CCL files
perl -s /home/hmlee/Cactus/lib/sbin/CST -config_dir=/home/hmlee/Cactus/configs/bench/config-data -cctk_home=/home/hmlee/Cactus -top=/home/hmlee/Cactus/configs/bench /home/hmlee/Cactus/configs/bench/ThornList
Reading ThornList...
Parsing configuration files...
Parsing interface files...
ADMBase
Implements: ADMBase
Inherits: grid
5 Public, 0 Protected, 0 Private variable groups
ADMConstraints
Implements: admconstraints
Inherits: ADMBase StaticConformal SpaceMask grid ADMMacros
Friend of: ADMCoupling
3 Public, 0 Protected, 0 Private variable groups
ADMCoupling
Implements: ADMCoupling
0 Public, 0 Protected, 0 Private variable groups
ADMMacros
Implements: ADMMacros
1 Public, 0 Protected, 0 Private variable groups
AEILocalInterp
Implements: AEILocalInterp
0 Public, 0 Protected, 0 Private variable groups
BSSN_MoL
Implements: adm_bssn
Inherits: admbase admmacros coordgauge spacemask staticconformal
Friend of: admcoupling
18 Public, 0 Protected, 0 Private variable groups
Boundary
Implements: boundary
0 Public, 0 Protected, 0 Private variable groups
Cactus
Implements: Cactus
0 Public, 0 Protected, 0 Private variable groups
Carpet
Implements: Driver
0 Public, 0 Protected, 1 Private variable groups
CarpetInterp
Implements: interp
0 Public, 0 Protected, 0 Private variable groups
CarpetLib
Implements: CarpetLib
0 Public, 0 Protected, 0 Private variable groups
CarpetReduce
Implements: reduce
0 Public, 0 Protected, 1 Private variable groups
CarpetRegrid
Implements: CarpetRegrid
0 Public, 0 Protected, 0 Private variable groups
CarpetSlab
Implements: Hyperslab
0 Public, 0 Protected, 0 Private variable groups
CartGrid3D
Implements: grid
Inherits: coordbase
2 Public, 0 Protected, 0 Private variable groups
CoordBase
Implements: CoordBase
0 Public, 0 Protected, 0 Private variable groups
CoordGauge
Implements: CoordGauge
1 Public, 0 Protected, 0 Private variable groups
EOS_Base
Implements: EOS_Base
0 Public, 0 Protected, 0 Private variable groups
EOS_Polytrope
Implements: EOS_2d_Polytrope
Inherits: EOS_Base
0 Public, 0 Protected, 0 Private variable groups
IOBasic
Implements: IOBasic
Inherits: IO
0 Public, 0 Protected, 2 Private variable groups
IOUtil
Implements: IO
0 Public, 0 Protected, 0 Private variable groups
MoL
Implements: MethodOfLines
0 Public, 0 Protected, 8 Private variable groups
NaNChecker
Implements: NaNChecker
Inherits: Reduce
0 Public, 0 Protected, 2 Private variable groups
SpaceMask
Implements: SpaceMask
Inherits: grid
2 Public, 0 Protected, 0 Private variable groups
StaticConformal
Implements: StaticConformal
Inherits: grid
4 Public, 0 Protected, 0 Private variable groups
SymBase
Implements: SymBase
0 Public, 0 Protected, 0 Private variable groups
Time
Implements: time
1 Public, 0 Protected, 1 Private variable groups
Whisky
Implements: Whisky
Inherits: ADMBase StaticConformal Boundary
Friend of: ADMCoupling
5 Public, 6 Protected, 17 Private variable groups
Whisky_Init_Data
Implements: whisky_init_data
Inherits: whisky grid
Friend of: whisky
0 Public, 0 Protected, 0 Private variable groups
Whisky_RNSID
Implements: rnsid
Inherits: ADMBase whisky
Friend of: whisky
0 Public, 0 Protected, 0 Private variable groups
Parsing parameter files...
ADMBase
0 Global, 7 Restricted, 0 Private parameters
ADMConstraints
0 Global, 0 Restricted, 9 Private parameters
ADMCoupling
0 Global, 0 Restricted, 0 Private parameters
ADMMacros
0 Global, 1 Restricted, 0 Private parameters
AEILocalInterp
0 Global, 0 Restricted, 1 Private parameters
BSSN_MoL
0 Global, 7 Restricted, 69 Private parameters
Boundary
0 Global, 8 Restricted, 0 Private parameters
Cactus
0 Global, 6 Restricted, 14 Private parameters
Carpet
0 Global, 4 Restricted, 58 Private parameters
CarpetInterp
0 Global, 0 Restricted, 0 Private parameters
CarpetLib
0 Global, 0 Restricted, 21 Private parameters
CarpetReduce
0 Global, 0 Restricted, 1 Private parameters
CarpetRegrid
0 Global, 5 Restricted, 65 Private parameters
CarpetSlab
0 Global, 0 Restricted, 0 Private parameters
CartGrid3D
0 Global, 23 Restricted, 9 Private parameters
CoordBase
0 Global, 0 Restricted, 44 Private parameters
CoordGauge
0 Global, 2 Restricted, 1 Private parameters
EOS_Base
0 Global, 0 Restricted, 0 Private parameters
EOS_Polytrope
0 Global, 4 Restricted, 0 Private parameters
IOBasic
0 Global, 0 Restricted, 13 Private parameters
IOUtil
0 Global, 55 Restricted, 2 Private parameters
MoL
0 Global, 15 Restricted, 20 Private parameters
NaNChecker
0 Global, 0 Restricted, 8 Private parameters
SpaceMask
0 Global, 1 Restricted, 0 Private parameters
StaticConformal
0 Global, 1 Restricted, 0 Private parameters
SymBase
0 Global, 0 Restricted, 1 Private parameters
Time
0 Global, 2 Restricted, 5 Private parameters
Whisky
0 Global, 53 Restricted, 0 Private parameters
Whisky_Init_Data
0 Global, 0 Restricted, 10 Private parameters
Whisky_RNSID
0 Global, 0 Restricted, 23 Private parameters
Parsing schedule files...
ADMBase
10 schedule blocks.
ADMConstraints
10 schedule blocks.
ADMCoupling
0 schedule blocks.
ADMMacros
1 schedule blocks.
AEILocalInterp
1 schedule blocks.
BSSN_MoL
38 schedule blocks.
Boundary
6 schedule blocks.
Cactus
0 schedule blocks.
Carpet
2 schedule blocks.
CarpetInterp
1 schedule blocks.
CarpetLib
2 schedule blocks.
CarpetReduce
7 schedule blocks.
CarpetRegrid
1 schedule blocks.
CarpetSlab
0 schedule blocks.
CartGrid3D
8 schedule blocks.
CoordBase
1 schedule blocks.
CoordGauge
8 schedule blocks.
EOS_Base
0 schedule blocks.
EOS_Polytrope
1 schedule blocks.
IOBasic
2 schedule blocks.
IOUtil
4 schedule blocks.
MoL
66 schedule blocks.
NaNChecker
3 schedule blocks.
SpaceMask
7 schedule blocks.
StaticConformal
1 schedule blocks.
SymBase
5 schedule blocks.
Time
7 schedule blocks.
Whisky
40 schedule blocks.
Whisky_Init_Data
6 schedule blocks.
Whisky_RNSID
1 schedule blocks.
Running any thorn-privided configuration scripts...
Checking consistency...
Creating Thorn-Flesh bindings...
Creating implementation bindings...
Creating parameter bindings...
Creating variable bindings...
Creating schedule bindings...
Creating function bindings...
CST finished.
gmake[1]: Leaving directory `/home/hmlee/Cactus'
gmake[1]: Entering directory `/home/hmlee/Cactus'
echo "#ifndef _CCTKI_VERSION_H_" > /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h
echo "#define _CCTKI_VERSION_H_" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h
echo "#define CCTK_VERSION_MAJOR 4" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h
echo "#define CCTK_VERSION_MINOR 0" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h
echo "#define CCTK_VERSION_OTHER b16" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h
echo "#define CCTK_VERSION 4.0.b16" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h
echo "#endif /* _CCTKI_VERSION_H_ */" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h
Checking status of thorn CoordBase
________________________________________________________________________
gmake[2]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
if [ ! -d cctk_Bindings/ ] ; then mkdir -p cctk_Bindings/ ; fi
echo CCTK_THIS_SUBDIR := cctk_Bindings/ > cctk_Bindings/make.identity
if [ ! -d ./ ] ; then mkdir -p ./ ; fi
echo CCTK_THIS_SUBDIR := ./ > make.identity
gmake[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
gmake[2]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
if [ ! -d ./ ] ; then mkdir -p ./ ; fi
cd ./ ; gmake CCTK_TARGET=make.checked TOP=/home/hmlee/Cactus/configs/bench CONFIG=/home/hmlee/Cactus/configs/bench/config-data SRCDIR=/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src THORN=CoordBase USESTHORNS="" -f /home/hmlee/Cactus/lib/make/make.subdir
gmake[3]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
xlc -E -M /home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/GHExtension.c -I"/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh/include" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -I"/home/hmlee/Cactus/configs/bench/config-data" -I"/home/hmlee/Cactus/configs/bench/bindings/include" -I"/home/hmlee/Cactus/src/include" -I"/home/hmlee/Cactus/arrangements" -I"/home/hmlee/Cactus/configs/bench/bindings/Configuration/Thorns" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -DTHORN_IS_CoordBase -DCCODE > GHExtension.c.d
perl -pi -e "s,([^:]*),GHExtension.c.o GHExtension.c.d, if(m/: /); s:\s+\S*[/\\\](cctk_Functions\.h|CParameterStructNames\.h|cctk_Arguments\.h|definethisthorn\.h|FParameters.h|CParameters\.h)\b::g" GHExtension.c.d
xlc -E -M /home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/CoordBase.c -I"/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh/include" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -I"/home/hmlee/Cactus/configs/bench/config-data" -I"/home/hmlee/Cactus/configs/bench/bindings/include" -I"/home/hmlee/Cactus/src/include" -I"/home/hmlee/Cactus/arrangements" -I"/home/hmlee/Cactus/configs/bench/bindings/Configuration/Thorns" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -DTHORN_IS_CoordBase -DCCODE > CoordBase.c.d
perl -pi -e "s,([^:]*),CoordBase.c.o CoordBase.c.d, if(m/: /); s:\s+\S*[/\\\](cctk_Functions\.h|CParameterStructNames\.h|cctk_Arguments\.h|definethisthorn\.h|FParameters.h|CParameters\.h)\b::g" CoordBase.c.d
xlc -E -M /home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/Domain.c -I"/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh/include" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -I"/home/hmlee/Cactus/configs/bench/config-data" -I"/home/hmlee/Cactus/configs/bench/bindings/include" -I"/home/hmlee/Cactus/src/include" -I"/home/hmlee/Cactus/arrangements" -I"/home/hmlee/Cactus/configs/bench/bindings/Configuration/Thorns" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -DTHORN_IS_CoordBase -DCCODE > Domain.c.d
perl -pi -e "s,([^:]*),Domain.c.o Domain.c.d, if(m/: /); s:\s+\S*[/\\\](cctk_Functions\.h|CParameterStructNames\.h|cctk_Arguments\.h|definethisthorn\.h|FParameters.h|CParameters\.h)\b::g" Domain.c.d
gmake[3]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
gmake[3]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
Domain.c.d:2: *** missing separator. Stop.
gmake[3]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
gmake[2]: *** [make.checked] Error 2
gmake[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
gmake[1]: *** [/home/hmlee/Cactus/configs/bench/lib/libthorn_CoordBase.a] Error 2
gmake[1]: Leaving directory `/home/hmlee/Cactus'
gmake: *** [bench] Error 2
More information about the Users
mailing list