[petsc-users] MPI-FFTW example crashes

Sajid Ali sajidsyed2021 at u.northwestern.edu
Sun Jun 2 23:46:09 CDT 2019


 Hi Barry,

fftw-configure fails on login node. I'm attaching the error message at the
bottom of this email. I tried request 1 hour of time on a compute node to
compile fftw on it but for some reason 1 hour is not enough to compile
fftw, hence I was forced to use cray-fftw-3.3.8.1 for which I had no
control over though the manpage gives a lower limit for compiler/MPT/craype
versions which I'm not violating.


```
sajid at thetalogin5:~/packages/petsc> python complex_int_64_fftw_debug.py


===============================================================================


             Configuring PETSc to compile on your system


===============================================================================


===============================================================================


      It appears you do not have valgrind installed on your system.


      We HIGHLY recommend you install it from www.valgrind.org


      Or install valgrind-devel or equivalent using your package manager.


      Then rerun ./configure


===============================================================================


===============================================================================


      Trying to download http://www.fftw.org/fftw-3.3.8.tar.gz for FFTW


===============================================================================


===============================================================================


      Running configure on FFTW; this may take several minutes


===============================================================================





*******************************************************************************


         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
details):

-------------------------------------------------------------------------------


Error running configure on FFTW: Could not execute "['./configure
--prefix=/gpfs/mira-home/sajid/packages/petsc/complex_int_64_fftw_debug
MAKE=/usr/bin/gmake --libdir=/gpfs/m
ira-home/sajid/packages/petsc/complex_int_64_fftw_debug/lib CC="cc"
CFLAGS="-fPIC -xMIC-AVX512 -O3"
AR="/opt/cray/pe/cce/8.7.6/binutils/x86_64/x86_64-pc-linux-gnu/bin/ar" ARF
LAGS="cr" LDFLAGS="-dynamic" CXX="CC" CXXFLAGS="-xMIC-AVX512 -O3 -fPIC"
F90="ftn" F90FLAGS="-fPIC -xMIC-AVX512 -O3" F77="ftn" FFLAGS="-fPIC
-xMIC-AVX512 -O3" FC="ftn" FCFLAGS
="-fPIC -xMIC-AVX512 -O3" --enable-shared MPICC="cc" --enable-mpi']":


checking for a BSD-compatible install... /usr/bin/install -c


checking whether build environment is sane... yes


checking for a thread-safe mkdir -p... /usr/bin/mkdir -p


checking for gawk... gawk


checking whether /usr/bin/gmake sets $(MAKE)... yes


checking whether /usr/bin/gmake supports nested variables... yes


checking whether to enable maintainer-specific portions of Makefiles... no


checking build system type... x86_64-pc-linux-gnu


checking host system type... x86_64-pc-linux-gnu


checking for gcc... cc


checking whether the C compiler works... yes


checking for C compiler default output file name... a.out


checking for suffix of executables...


checking whether we are cross compiling...configure: error: in
`/gpfs/mira-home/sajid/packages/petsc/complex_int_64_fftw_debug/externalpackages/fftw-3.3.8':

configure: error: cannot run C compiled programs.


If you meant to cross compile, use `--host'.


See `config.log' for more details


*******************************************************************************
                              ```





Thank You,
Sajid Ali
Applied Physics
Northwestern University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190602/cc1688e0/attachment.html>


More information about the petsc-users mailing list