Dear Dirac users,
I first compiled the DIRAC12.6 in sequential mode using the command
./setup --fc=ifort --cc=icc --int64
It compiled successfully, and I also did all the tests in sequential mode.
Later, I tried to compile the same DIRAC12.6 in parallel mode using the
following command line:
./setup --fc=mpiifort --cc=mpiicc --int64
In this case, I could not compile succesfully, and got the following error (pasted below)
Your support and help in this regard will be highly useful for me
Best regards,
Malaya K. Nayak
[malayak@ycn1 DIRAC-12.6-Source]$ ./setup --fc=mpiifort --cc=mpiicc --int64
FC=mpiifort CC=mpiicc CXX=mpicxx cmake -DENABLE_MPI=ON -DENABLE_SGI_MPT=OFF -DENABLE_BLAS=ON -DENABLE_LAPACK=ON -DENABLE_TESTS=OFF -DENABLE_64BIT_INTEGERS=ON -DCMAKE_BUILD_TYPE=Release /home/external/iiap/malayak/DIRAC_12_PARALLEL/DIRAC-12.6-Source
-- No external LAPACK library found
-- Using own LAPACK implementation (slow)
-- No external BLAS library found
-- Using own BLAS implementation (slow)
-- mpi.mod matches current compiler, setting -DUSE_MPI_MOD_F90
-- MPI-2 support found
-- The Fortran compiler identification is Intel
-- The C compiler identification is Intel 13.0.0.20121010
-- The CXX compiler identification is GNU 4.4.6
-- Check for working Fortran compiler: /opt/intel/impi/
4.1.0.024/intel64/bin/mpiifort
-- Check for working Fortran compiler: /opt/intel/impi/
4.1.0.024/intel64/bin/mpiifort -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /opt/intel/impi/
4.1.0.024/intel64/bin/mpiifort supports Fortran 90
-- Checking whether /opt/intel/impi/
4.1.0.024/intel64/bin/mpiifort supports Fortran 90 -- yes
-- Check for working C compiler: /opt/intel/impi/
4.1.0.024/intel64/bin/mpiicc-- Check for working C compiler: /opt/intel/impi/
4.1.0.024/intel64/bin/mpiicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /opt/intel/impi/
4.1.0.024/intel64/bin/mpicxx-- Check for working CXX compiler: /opt/intel/impi/
4.1.0.024/intel64/bin/mpicxx -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Git: /usr/bin/git
-- Found MPI_C: /usr/lib64/libdl.so;/opt/intel/impi/
4.1.0.024/intel64/lib/libmpi.so;/opt/intel/impi/4.1.0.024/intel64/lib/libmpigf.so;/opt/intel/impi/4.1.0.024/intel64/lib/libmpigi.a;/usr/lib64/librt.so;/usr/lib64/libpthread.so
-- Found MPI_CXX: /usr/lib64/libdl.so;/opt/intel/impi/
4.1.0.024/intel64/lib/libmpigc4.so;/opt/intel/impi/4.1.0.024/intel64/lib/libmpi.so;/opt/intel/impi/4.1.0.024/intel64/lib/libmpigf.so;/opt/intel/impi/4.1.0.024/intel64/lib/libmpigi.a;/usr/lib64/librt.so;/usr/lib64/libpthread.so
-- Found MPI_Fortran: /usr/lib64/libdl.so;/opt/intel/impi/
4.1.0.024/intel64/lib/libmpi.so;/opt/intel/impi/4.1.0.024/intel64/lib/libmpigf.so;/opt/intel/impi/4.1.0.024/intel64/lib/libmpigi.a;/usr/lib64/librt.so;/usr/lib64/libpthread.so
-- Performing Test MPI_COMPATIBLE
-- Performing Test MPI_COMPATIBLE - Success
-- Performing Test MPI_COMPILER_MATCHES
-- Performing Test MPI_COMPILER_MATCHES - Success
-- Performing Test MPI_ITYPE_MATCHES
-- Performing Test MPI_ITYPE_MATCHES - Success
-- Performing Test MPI_2_COMPATIBLE
-- Performing Test MPI_2_COMPATIBLE - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/external/iiap/malayak/DIRAC_12_PARALLEL/DIRAC-12.6-Source/build
configure step is done
now you need to compile the sources
to compile with configured parameters (recommended):
$ cd build
$ make
to modify configured parameters and then compile:
$ cd build
$ ccmake ..
$ make
[malayak@ycn1 DIRAC-12.6-Source]$ cd build
[malayak@ycn1 build]$ make
Scanning dependencies of target gen_fortran_interface_h
[ 0%] Building C object CMakeFiles/gen_fortran_interface_h.dir/utils/gen_fortran_interface_h.c.o
Linking C executable gen_fortran_interface_h
[ 0%] Built target gen_fortran_interface_h
[ 0%] Generating fortran_interface.h
Scanning dependencies of target dirac
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/embedding/emb_types.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_parameters.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_control.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_tracker.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_track_if.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_errorhandler.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_internal_init.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_internal_ada_1d.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_internal_ada_2d.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_internal_ada_3d.F90.o
[ 0%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_internal_ada_4d.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_legacy_dirac.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/gp/memory_allocator.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/gp/quaternion_algebra.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/x2c/x2c_cfg.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/x2c/x2c_common_block_interface.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/x2c/x2c_io_interface.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/x2c/x2c_utility_routines.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/x2c/x2c_import_export_C1_matrices_ao.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/x2c/x2c_setup_defining_h1_4c_matrix_ao2onmo.F90.o
[ 1%] Building Fortran object CMakeFiles/dirac.dir/src/interface_mpi/integer_kind_mpilib.F90.o
[ 2%] Building Fortran object CMakeFiles/dirac.dir/src/interface_mpi/interface_to_mpi.F90.o
/home/external/iiap/malayak/DIRAC_12_PARALLEL/DIRAC-12.6-Source/src/interface_mpi/interface_to_mpi.F90(607): error #6633: The type of the actual argument differs from the type of the dummy argument. [STATUS_CONTAINER]
call mpi_probe(rank , message_id , communicator , status_container , ierr )
------------------------------------------------------------^
/home/external/iiap/malayak/DIRAC_12_PARALLEL/DIRAC-12.6-Source/src/interface_mpi/interface_to_mpi.F90(643): error #6633: The type of the actual argument differs from the type of the dummy argument. [STATUS_CONTAINER]
call mpi_iprobe(rank , message_id , communicator , x , status_container , ierr )
-------------------------------------------------------------------^
/home/external/iiap/malayak/DIRAC_12_PARALLEL/DIRAC-12.6-Source/src/interface_mpi/interface_to_mpi.F90(673): error #6633: The type of the actual argument differs from the type of the dummy argument. [STATUS_CONTAINER]
call mpi_test(request , x , status_container , ierr )
------------------------------------^
/home/external/iiap/malayak/DIRAC_12_PARALLEL/DIRAC-12.6-Source/src/interface_mpi/interface_to_mpi.F90(737): error #6633: The type of the actual argument differs from the type of the dummy argument. [STATUS_CONTAINER]
call mpi_wait(request , status_container , ierr )
------------------------------^
/home/external/iiap/malayak/DIRAC_12_PARALLEL/DIRAC-12.6-Source/src/interface_mpi/interface_to_mpi.F90(2944): error #6633: The type of the actual argument differs from the type of the dummy argument. [STATUS_ARRAY]
call mpi_get_count(status_array , datatype , elements , ierr )
-----------------------^
compilation aborted for /home/external/iiap/malayak/DIRAC_12_PARALLEL/DIRAC-12.6-Source/src/interface_mpi/interface_to_mpi.F90 (code 1)
make[3]: *** [CMakeFiles/dirac.dir/src/interface_mpi/interface_to_mpi.F90.o] Error 1
make[2]: *** [CMakeFiles/dirac.dir/src/interface_mpi/interface_to_mpi.F90.o.provides] Error 2
make[1]: *** [CMakeFiles/dirac.dir/all] Error 2
make: *** [all] Error 2
[malayak@ycn1 build]$
--
Malaya K. Nayak, Ph.D.
Bhabha Atomic Research Centre,
Trombay, Mumbai - 400085, India.