Skip to content

Where is srun? #1

Description

@mahmoodn

Hi,
What is that srun? I don't see that file after make

[mahmood@rocks7 mpiBench]$ ls
crunch_mpiBench  makefile  mpiBench.c  README.md
[mahmood@rocks7 mpiBench]$ make
rm -f mpiBench *.o
mpicc  -o mpiBench mpiBench.c
mpiBench.c: In function ‘Print_Timings’:
mpiBench.c:295:9: warning: ‘MPI_Attr_get’ is deprecated (declared at /opt/openmpi/include/mpi.h:1242): MPI_Attr_get is superseded by MPI_Comm_get_attr in MPI-2.0 [-Wdeprecated-declarations]
         MPI_Attr_get(comm, dimid_key, (void*) &str, &flag); 
         ^
mpiBench.c: In function ‘main’:
mpiBench.c:935:5: warning: ‘MPI_Keyval_create’ is deprecated (declared at /opt/openmpi/include/mpi.h:1569): MPI_Keyval_create is superseded by MPI_Comm_create_keyval in MPI-2.0 [-Wdeprecated-declarations]
     MPI_Keyval_create(MPI_NULL_COPY_FN, MPI_NULL_DELETE_FN, &dimid_key, (void*) &extra_state);
     ^
mpiBench.c:935:5: warning: ‘OMPI_C_MPI_NULL_COPY_FN’ is deprecated (declared at /opt/openmpi/include/mpi.h:861): MPI_NULL_COPY_FN is deprecated in MPI-2.0 [-Wdeprecated-declarations]
mpiBench.c:935:5: warning: ‘OMPI_C_MPI_NULL_DELETE_FN’ is deprecated (declared at /opt/openmpi/include/mpi.h:857): MPI_NULL_DELETE_FN is deprecated in MPI-2.0 [-Wdeprecated-declarations]
mpiBench.c:942:5: warning: ‘MPI_Attr_put’ is deprecated (declared at /opt/openmpi/include/mpi.h:1244): MPI_Attr_put is superseded by MPI_Comm_set_attr in MPI-2.0 [-Wdeprecated-declarations]
     MPI_Attr_put(comms[0], dimid_key, (void*) &comm_desc[256*current_comm]); 
     ^
mpiBench.c:980:13: warning: ‘MPI_Attr_put’ is deprecated (declared at /opt/openmpi/include/mpi.h:1244): MPI_Attr_put is superseded by MPI_Comm_set_attr in MPI-2.0 [-Wdeprecated-declarations]
             MPI_Attr_put(comms[current_comm], dimid_key, (void*) &comm_desc[256*current_comm]); 
             ^
mpiBench.c:995:9: warning: ‘MPI_Attr_put’ is deprecated (declared at /opt/openmpi/include/mpi.h:1244): MPI_Attr_put is superseded by MPI_Comm_set_attr in MPI-2.0 [-Wdeprecated-declarations]
         MPI_Attr_put(comms[current_comm], dimid_key, (void*) &comm_desc[256*current_comm]); 
         ^
[mahmood@rocks7 mpiBench]$ ls
crunch_mpiBench  makefile  mpiBench  mpiBench.c  README.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions