I am new to IRIS and having some difficulty in running a simple prarallel program.
Kindly help in this regard.
What ever link I am giving it is giving the same error. Details of my system and the errors which I get are as follows
**************************************
Origin3000 678% uname -aR
IRIX64 Origin3000 6.5 6.5.30m 07202013 IP35
**************************************
Origin3000 679% cat hello.f90
!c Fortran example
program hello
include 'mpif.h'
integer rank, size, ierror, tag, status(MPI_STATUS_SIZE)
call MPI_INIT(ierror)
call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierror)
call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierror)
print*, 'node', rank, ': Hello world'
call MPI_FINALIZE(ierror)
end
**********************************************
Origin3000 680% f90 -mp hello.f90
ld32: ERROR 33 : Unresolved text symbol "mpi_init_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_size_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_rank_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_finalize_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
*******************************************************
Origin3000 681% f90 -mp -v hello.f90
/usr/lib32/cmplrs/mfef90 -G8 -TARG:t5_ll_sc_bug=on -TENV:PIC -m1 -mp -show -TARG:abi=n32:isa=mips4 -TARG:proc=r10000 -O2 -include=/usr/include -dsm -FE:cmdline=/tmp/ctmL.AAAa08CY7 -rii./rii_files/hello.rii -fB,/tmp/ctmB.BAAa08CY7 -fC,hello.T -fD,hello.l -ffree -LANG:=F90 hello.f90
f90: update_instantiation_info_file ./rii_files/hello.rii
/usr/lib32/cmplrs/be -PHASE:w:c -G8 -TARG:t5_ll_sc_bug=on -TENV:PIC -m1 -show -TARG:abi=n32:isa=mips4 -TARG:proc=r10000 -O2 -dsm -dsm_clone -LANG:=f90 -fB,/tmp/ctmB.BAAa08CY7 -fo,hello.o hello.f90
Compiling hello.f90 (/tmp/ctmB.BAAa08CY7) -- Back End
Compiling MAIN__(0)
/usr/lib32/cmplrs/dsm_prelink -dsm_clone hello.o
/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -show -mips4 -n32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 /usr/lib32/mips4/crt1.o -hides /usr/lib32/mips4/dsmcrt.o -init _dsm_crt_init hello.o -dont_warn_unused -lmp -lfortran -lffio -lftn -lm -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused
ld32: ERROR 33 : Unresolved text symbol "mpi_init_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_size_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_rank_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_finalize_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
f90 ERROR: /usr/lib32/cmplrs/ld32 returned non-zero status 2
************************************************************************
Origin3000 682% f90 -mp -L/usr/lib32/mips4/libmpi.so -v hello.f90
f90 WARNING: -L/usr/lib32/mips4/libmpi.so does not refer to a valid directory
/usr/lib32/cmplrs/mfef90 -G8 -TARG:t5_ll_sc_bug=on -TENV:PIC -m1 -mp -show -TARG:abi=n32:isa=mips4 -TARG:proc=r10000 -O2 -include=/usr/include -dsm -FE:cmdline=/tmp/ctmL.AAAa08BKC -rii./rii_files/hello.rii -fB,/tmp/ctmB.BAAa08BKC -fC,hello.T -fD,hello.l -ffree -LANG:=F90 hello.f90
f90: update_instantiation_info_file ./rii_files/hello.rii
/usr/lib32/cmplrs/be -PHASE:w:c -G8 -TARG:t5_ll_sc_bug=on -TENV:PIC -m1 -show -TARG:abi=n32:isa=mips4 -TARG:proc=r10000 -O2 -dsm -dsm_clone -LANG:=f90 -fB,/tmp/ctmB.BAAa08BKC -fo,hello.o hello.f90
Compiling hello.f90 (/tmp/ctmB.BAAa08BKC) -- Back End
Compiling MAIN__(0)
/usr/lib32/cmplrs/dsm_prelink -dsm_clone hello.o
/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -L/usr/lib32/mips4/libmpi.so -show -mips4 -n32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 /usr/lib32/mips4/crt1.o -hides /usr/lib32/mips4/dsmcrt.o -init _dsm_crt_init hello.o -dont_warn_unused -lmp -lfortran -lffio -lftn -lm -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused
ld32: ERROR 33 : Unresolved text symbol "mpi_init_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_size_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_rank_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_finalize_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
f90 ERROR: /usr/lib32/cmplrs/ld32 returned non-zero status 2
***************************************************************************
whether the flags are -mp or -mpio or something else it gives the same error.
Thanking You,
Phani
Kindly help in this regard.
What ever link I am giving it is giving the same error. Details of my system and the errors which I get are as follows
**************************************
Origin3000 678% uname -aR
IRIX64 Origin3000 6.5 6.5.30m 07202013 IP35
**************************************
Origin3000 679% cat hello.f90
!c Fortran example
program hello
include 'mpif.h'
integer rank, size, ierror, tag, status(MPI_STATUS_SIZE)
call MPI_INIT(ierror)
call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierror)
call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierror)
print*, 'node', rank, ': Hello world'
call MPI_FINALIZE(ierror)
end
**********************************************
Origin3000 680% f90 -mp hello.f90
ld32: ERROR 33 : Unresolved text symbol "mpi_init_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_size_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_rank_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_finalize_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
*******************************************************
Origin3000 681% f90 -mp -v hello.f90
/usr/lib32/cmplrs/mfef90 -G8 -TARG:t5_ll_sc_bug=on -TENV:PIC -m1 -mp -show -TARG:abi=n32:isa=mips4 -TARG:proc=r10000 -O2 -include=/usr/include -dsm -FE:cmdline=/tmp/ctmL.AAAa08CY7 -rii./rii_files/hello.rii -fB,/tmp/ctmB.BAAa08CY7 -fC,hello.T -fD,hello.l -ffree -LANG:=F90 hello.f90
f90: update_instantiation_info_file ./rii_files/hello.rii
/usr/lib32/cmplrs/be -PHASE:w:c -G8 -TARG:t5_ll_sc_bug=on -TENV:PIC -m1 -show -TARG:abi=n32:isa=mips4 -TARG:proc=r10000 -O2 -dsm -dsm_clone -LANG:=f90 -fB,/tmp/ctmB.BAAa08CY7 -fo,hello.o hello.f90
Compiling hello.f90 (/tmp/ctmB.BAAa08CY7) -- Back End
Compiling MAIN__(0)
/usr/lib32/cmplrs/dsm_prelink -dsm_clone hello.o
/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -show -mips4 -n32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 /usr/lib32/mips4/crt1.o -hides /usr/lib32/mips4/dsmcrt.o -init _dsm_crt_init hello.o -dont_warn_unused -lmp -lfortran -lffio -lftn -lm -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused
ld32: ERROR 33 : Unresolved text symbol "mpi_init_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_size_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_rank_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_finalize_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
f90 ERROR: /usr/lib32/cmplrs/ld32 returned non-zero status 2
************************************************************************
Origin3000 682% f90 -mp -L/usr/lib32/mips4/libmpi.so -v hello.f90
f90 WARNING: -L/usr/lib32/mips4/libmpi.so does not refer to a valid directory
/usr/lib32/cmplrs/mfef90 -G8 -TARG:t5_ll_sc_bug=on -TENV:PIC -m1 -mp -show -TARG:abi=n32:isa=mips4 -TARG:proc=r10000 -O2 -include=/usr/include -dsm -FE:cmdline=/tmp/ctmL.AAAa08BKC -rii./rii_files/hello.rii -fB,/tmp/ctmB.BAAa08BKC -fC,hello.T -fD,hello.l -ffree -LANG:=F90 hello.f90
f90: update_instantiation_info_file ./rii_files/hello.rii
/usr/lib32/cmplrs/be -PHASE:w:c -G8 -TARG:t5_ll_sc_bug=on -TENV:PIC -m1 -show -TARG:abi=n32:isa=mips4 -TARG:proc=r10000 -O2 -dsm -dsm_clone -LANG:=f90 -fB,/tmp/ctmB.BAAa08BKC -fo,hello.o hello.f90
Compiling hello.f90 (/tmp/ctmB.BAAa08BKC) -- Back End
Compiling MAIN__(0)
/usr/lib32/cmplrs/dsm_prelink -dsm_clone hello.o
/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -L/usr/lib32/mips4/libmpi.so -show -mips4 -n32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 /usr/lib32/mips4/crt1.o -hides /usr/lib32/mips4/dsmcrt.o -init _dsm_crt_init hello.o -dont_warn_unused -lmp -lfortran -lffio -lftn -lm -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused
ld32: ERROR 33 : Unresolved text symbol "mpi_init_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_size_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_comm_rank_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mpi_finalize_" -- 1st referenced by hello.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
f90 ERROR: /usr/lib32/cmplrs/ld32 returned non-zero status 2
***************************************************************************
whether the flags are -mp or -mpio or something else it gives the same error.
Thanking You,
Phani