Home > Petsc Cannot > Petsc Cannot Run Executables Created With Fc

Petsc Cannot Run Executables Created With Fc

Return to Installation Instructions Return to Installation Instructions [petsc-dev] [petsc-maint #45539] petsc installation failure Satish Balay petsc-maint at mcs.anl.gov Fri Apr 30 11:41:01 CDT 2010 Previous message: [petsc-dev] [petsc-maint #45539] petsc I don't want MPI make problems? If this machine uses a batch system > > to submit jobs you will need to configure using ./configure with the additional option --with-batch. > > Otherwise there is problem with Can you compile and run code with your C/C++ (and maybe Fortran) compilers? :info:configure ******************************************************************************* :info:configure :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/configure.py --prefix=/opt/local --with-python --with-c-support=1 --with-c++-support=1 --with-pic=fPIC --with-shared=1 --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/destroot/opt/local/lib/petsc

Furthermore, is the resulting binary runnable? Due to this OpenMPI restriction one has to set LD_LIBRARY_PATH correctly [per OpenMPI installation instructions], before running PETSc configure. Non-Repetitive Quine How do I make an alien technology feel alien? comment:2 in reply to: ↑ 1 Changed 7 years ago by [email protected]… Replying to [email protected]…: I have added the output of "sudo port -dv install petsc" as build.log. http://www.mcs.anl.gov/petsc/petsc-current/docs/installation.html

Furthermore, is the resulting binary runnable? Thank you very much! > > Best, > > Anna. > > > ******************************************************************************* > > UNABLE to EXECUTE BINARIES for ./configure > > ------------------------------------------------------------------------------- > > Cannot run executables created Also - if make doesn't find a PETSC_ARCH env variable - it defaults to the value used by last successful invocation of previous configure. Can you compile and run code with your compiler '/usr/local/bin/mpif90'? > > ******************************************************************************* Does /usr/local/bin/mpif90 exist and is it able to compile a simple fortran file?

Otherwise there is problem with the compilers. Installation With MS/Intel/Compaq Compilers: Microsoft Windows OS does not provide the same unix shell enviornment as the other OSes. One can switch to using optimzed mode with the toggle option --with-debugging [defaults to debug enabled]. On Mar 22, 2014, at 2:24 PM, Qin Lu wrote: > I tried what you suggested and got the following error (configure .log > attached): > ************** > sh: >

If this machine uses a batch system to submit jobs you will need to configure using/configure.py with the additional option --with-batch. check config/examples/arch-viennacl.py for example usage. Why isn't it > >> suggesting --with-batch??? > >> > >> Well, look what happens ----- > >> > >> In checkCCompiler() it builds an executable and seems to run without https://www.mail-archive.com/[email protected]/msg20860.html Project Files: We cannot provide Microsoft Visual Studio project files for users as they are specific to the configure options, location of external packages, compiler versions etc.

check examples below Check the bug-reporting section Notes: Please download the latest patched tarball For most users we recommend installing PETSc as a regular/non-root user, perhaps in /home/username/soft To extract the Thrust has been included in CUDA since the 4.0 release - so a separate install is not needed. Boss sends a birthday message. If this machine uses a batch system to submit jobs you will need to configure using ./configure with the additional option --with-batch.

Package managers on Linux provide these headers through a package named 'opencl-headers' or similar. http://petsc-users.mcs.anl.narkive.com/UdvT8s9X/a-little-help-for-running-config For ex: when using gnu compilers with corresponding optimization flags: ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --with-debugging=0 COPTFLAGS='-O3 -march=native -mtune=native' CXXOPTFLAGS='-O3 -march=native -mtune=native' FOPTFLAGS='-O3 -march=native -mtune=native' --download-mpich Configure cannot detect compiler libraries for Make sure the OpenCL headers are available on your system by e.g. If you get the message 'No such file or directory' try: python ./configure BLAS and LAPACK problems MPI problems.

from within PETSc applications. Configure uses this value to stores the generated config makefiles in ${PETSC_DIR}/${PETSC_ARCH}/conf. up vote 1 down vote favorite I'm trying to install PetSc with MacPorts. If you do not set this environmental variables you will get messages when running ./configure such as UNABLE to EXECUTE BINARIES for config/configure.py ------------------------------------------------------------------------------- Cannot run executables created with C.

Example for a commutative subring of a non-commutative ring Possible XML handles in Magento 2? There are several known issues with older driver versions. export TAU_MAKEFILE=/home/balay/soft/linux64/tau-2.20.3/x86_64/lib/Makefile.tau-mpi-pdt ./configure CC=/home/balay/soft/linux64/tau-2.20.3/x86_64/bin/tau_cc.sh --with-fc=0 PETSC_ARCH=arch-tau Return to Installation Instructions Installing PETSc to use NVidia GPUs (aka CUDA) Requires CUDA, Thrust and Cusp . Lab colleague uses cracked software.

What is the most efficient & fastest way to speed up the installation of packages with thousands of items? In this case follow the regular Unix instructions. So to install PETSc on Microsoft Windows - one has to install cygwin [for the unix enviornment] and use win32fe [part of PETSc sources,to interface to MS/Intel/Compaq compilers].

For eg: untar petsc tar ball ./configure --prefix=/opt/petsc/petsc-3.7.0-mpich --with-mpi-dir=/opt/mpich make make install DESTDIR=/tmp/petsc-pkg untar petsc tar ball ./configure --prefix=/opt/petsc/petsc-3.7.0-openmpi --with-mpi-dir=/opt/openmpi make make install DESTDIR=/tmp/petsc-pkg

Return to Installation Instructions PETSc ./configure

Can an object *immediately* start moving at a high velocity? I need to get PetSc installed before any attempt to install libMesh. Browse other questions tagged osx osx-snow-leopard macports finite-element-analysis or ask your own question. mpi_init() could not be located! > > > ******************************************************************************* > > > > > > It seems the configure did not link the Intel MPI libs.

Please help. Is Area of a circle always irrational UX team under Product management or Engineering or an Independent? This mode is generally used by binary packagers. Specify different PETSC_ARCH for each build. ./configure PETSC_ARCH=linux-gnu --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich make PETSC_ARCH=linux-gnu all test ./configure PETSC_ARCH=linux-gnu-intel --with-cc=icc --with-cxx=icpc --with-fc=ifort --download-mpich --with-blas-lapack-dir=/usr/local/mkl make PETSC_ARCH=linux-gnu-intel all test PETSC_DIR and PETSC_ARCH are

petsc/work/petsc-3.0.0-p11/configure.log Download all attachments as: .zip Oldest first Newest first Threaded Comments only Change History (6) Changed 7 years ago by mamoll (Mark Moll) Attachment build.log​ added Changed 7 years ago If this machine uses a batch > > > > system > > > > to submit jobs you will need to configure using ./configure with the > > > > Best, Anna. ******************************************************************************* UNABLE to EXECUTE BINARIES for ./configure ------------------------------------------------------------------------------- Cannot run executables created with FC. One can optionally use external solvers like Hypre, MUMPS, etc.

Vendor provided MPI might already be installed. If fortran compiler is not available or not needed - then disabling using fortran --with-fc=0 If a C++ compiler is not available or not needed - disable configuring with it --with-cxx=0 The module file may need to be edited for your particular system. sudo mkdir /opt/petsc sudo chown user:group /opt/petsc cd /opt/petsc tar -xzf petsc-3.7.0.tar.gz cd petsc-3.7.0 ./configure make Installing with --prefix: One can also use the GNU --prefix install mode. ./configure --prefix=/opt/petsc/petsc-3.7.0 [other

Using Cygwin gcc/g++/gfortran: One can install and use PETSc with gcc/gfortran compilers from cygwin. Return to Installation Instructions BLAS/LAPACK These packages provide some basic numeric kernels used by PETSc. I am following the installation instructions but I get an error during the PETSc installation step. If you really want to use ESSL, see http://www.pdc.kth.se/resources/computers/bluegene/LAPACK-CBLAS/LAPACK-CBLAS-build.

All development should be done when configured using --with-debugging=1 ================================================================================= TESTING: configureArchitecture from PETSc.utilities.arch(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p11/config/PETSc/utilities/arch.py:39) TESTING: configureSharedLibraries from PETSc.utilities.sharedLibraries(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p11/config/PETSc/utilities/sharedLibraries.py:41) TESTING: configureDynamicLibraries from PETSc.utilities.sharedLibraries(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p11/config/PETSc/utilities/sharedLibraries.py:64) TESTING: configureBmakeDir from PETSc.utilities.bmakeDir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p11/config/PETSc/utilities/bmakeDir.py:26) TESTING: checkRestrict from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p11/config/BuildSystem/config/compilers.py:134) TESTING: used for any given build of PETSc, so they are potentially different for each build of PETSc. My MacPorts version is 1.9.2 the latest one. Can you compare these to the output on your machine and tell me if there's any difference?