This thread is locked.Only browsing is available.
Top Page > Browsing
OpenMx installation on Asus G2P laptop
Date: 2008/06/21 23:46
Name: Naoto   <naotodate74@gmai.com>

Hello All!

I am trying to install OpenMx 3.3 on my Asus G2P laptop
with an Intel core 2 duo T7200 dual core processor and linux kubuntu 7.10 64bit
I don't know how to modify the CC and LIB lines in the makefile.
Could someone help me?

Thanks a lot in advance

Naoto

I wrote this:

mpicc = /usr/lib64/mpich/bin/mpiCC
CC = $(mpicc) -O3 -I/usr/lib64/include -I/usr/include -I/home/naoto/include
LIB = -L/home/naoto/lib -L/usr/lib64 -llapack -lfftw3 -lblas -lg2c

but I got the following output:

In file included from openmx.c:68:
openmx_common.h:105:17: error: mpi.h: No such file or directory
openmx_common.h:106: error: eMPI_Commf does not name a type
openmx_common.h:2439: error: eMPI_Commf has not been declared
openmx_common.h:2445: error: eMPI_Commf has not been declared
openmx_common.h:2486: error: variable or field eEigen_PReHHf declared void
openmx_common.h:2486: error: eMPI_Commf was not declared in this scope
openmx_common.h:2487: error: expected primary-expression before edoublef
openmx_common.h:2487: error: expected primary-expression before edoublef
openmx_common.h:2487: error: expected primary-expression before eintf
openmx_common.h:2487: error: expected primary-expression before eintf
openmx_common.h:2487: error: expected primary-expression before eintf
openmx_common.h:2487: error: initializer expression list treated as compound expression
openmx_common.h:2488: error: variable or field eEigen_PHHf declared void
openmx_common.h:2488: error: eMPI_Commf was not declared in this scope
openmx_common.h:2489: error: expected primary-expression before e*f token
openmx_common.h:2489: error: eacf was not declared in this scope
openmx_common.h:2489: error: expected primary-expression before edoublef
openmx_common.h:2489: error: expected primary-expression before eintf
openmx_common.h:2489: error: expected primary-expression before eintf
openmx_common.h:2489: error: expected primary-expression before eintf
openmx_common.h:2489: error: initializer expression list treated as compound expression
openmx_common.h:2490: error: variable or field eBroadCast_ReMatrixf declared void
openmx_common.h:2490: error: eMPI_Commf was not declared in this scope
openmx_common.h:2491: error: expected primary-expression before edoublef
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2492: error: eMPI_Statusf was not declared in this scope
openmx_common.h:2492: error: estat_sendf was not declared in this scope
openmx_common.h:2493: error: eMPI_Requestf was not declared in this scope
openmx_common.h:2493: error: erequest_sendf was not declared in this scope
openmx_common.h:2494: error: eMPI_Requestf was not declared in this scope
openmx_common.h:2494: error: erequest_recvf was not declared in this scope
openmx_common.h:2494: error: initializer expression list treated as compound expression
openmx_common.h:2495: error: variable or field eBroadCast_ComplexMatrixf declared void
openmx_common.h:2495: error: eMPI_Commf was not declared in this scope
openmx_common.h:2496: error: expected primary-expression before e*f token
openmx_common.h:2496: error: eMatf was not declared in this scope
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2497: error: eMPI_Statusf was not declared in this scope
openmx_common.h:2497: error: estat_sendf was not declared in this scope
openmx_common.h:2498: error: eMPI_Requestf was not declared in this scope
openmx_common.h:2498: error: erequest_sendf was not declared in this scope
openmx_common.h:2499: error: eMPI_Requestf was not declared in this scope
openmx_common.h:2499: error: erequest_recvf was not declared in this scope
openmx_common.h:2499: error: initializer expression list treated as compound expression
openmx_common.h:2528: error: variable or field eMake_Comm_Worldsf declared void
openmx_common.h:2528: error: eMPI_Commf was not declared in this scope
openmx_common.h:2529: error: expected primary-expression before eintf
openmx_common.h:2530: error: expected primary-expression before eintf
openmx_common.h:2531: error: expected primary-expression before eintf
openmx_common.h:2532: error: expected primary-expression before eintf
openmx_common.h:2533: error: eMPI_Commf was not declared in this scope
openmx_common.h:2533: error: eMPI_CommWDf was not declared in this scope
openmx_common.h:2534: error: expected primary-expression before eintf
openmx_common.h:2535: error: expected primary-expression before eintf
openmx_common.h:2536: error: expected primary-expression before eintf
openmx_common.h:2537: error: expected primary-expression before eintf
openmx_common.h:2538: error: initializer expression list treated as compound expression
openmx.c: In function eint main(int, char**)f:
openmx.c:97: error: eMPI_Requestf was not declared in this scope
openmx.c:97: error: expected `;' before erequestf
openmx.c:98: error: eMPI_Statusf was not declared in this scope
openmx.c:98: error: expected `;' before estatusf
openmx.c:102: error: empi_comm_level1f was not declared in this scope
openmx.c:102: error: eMPI_COMM_WORLDf was not declared in this scope
openmx.c:103: error: eMPI_Initf was not declared in this scope
openmx.c:104: error: eMPI_Comm_sizef was not declared in this scope
openmx.c:105: error: eMPI_Comm_rankf was not declared in this scope
openmx.c:116: error: eMPI_Finalizef was not declared in this scope
openmx.c:236: error: eMPI_Barrierf was not declared in this scope
openmx.c:262: error: eMPI_INTf was not declared in this scope
openmx.c:262: error: eMPI_Bcastf was not declared in this scope
openmx.c:295: error: eMPI_Finalizef was not declared in this scope
openmx.c:391: error: eMPI_Finalizef was not declared in this scope
make: *** [openmx.o] Error 1
ƒƒ“ƒe
Page: [1]

Re: OpenMx installation on Asus G2P laptop ( No.1 )
Date: 2008/06/25 18:24
Name: Naoto  <rei_m2@yahoo.com>

I solved the previous problem installing OpenMx v.3.4
but now I got a different error message:

openmx.c:79:17: error: omp.h: No such file or directory
openmx.c: In function eint main(int, char**)f:
openmx.c:173: error: eomp_set_num_threadsf was not declared in this scope
make: *** [openmx.o] Error 1

could anyone help me?

Thanks a lot
best regards

Naoto
ƒƒ“ƒe
Re: OpenMx installation on Asus G2P laptop ( No.2 )
Date: 2008/06/26 10:31
Name: T.Ozaki

Hi,

Please add -Dnoomp as compile option.

Regards,

TO
ƒƒ“ƒe
Re: OpenMx installation on Asus G2P laptop ( No.3 )
Date: 2008/06/27 18:06
Name: Naoto  <rei_m2@yahoo.com>

Dear Prof. Ozaki,

I solved the previous problem but I got a new error message:

Poisson.c: In function evoid FFT_Poisson(int, int, int, int, int, int, int, int, int, int, double***, double***, double***, double***)f:
Poisson.c:156: error: invalid conversion from evoid*f to edouble (*)[2]f
Poisson.c:157: error: invalid conversion from evoid*f to edouble (*)[2]f
make: *** [Poisson.o] Error 1

Any suggestion?

Thanks a lot for your help

kind regards

Naoto

PS: these are my lines for compliling:

mpicc= /usr/lib64/mpich/bin/mpiCC
CC = $(mpicc) -O3 -Dnoomp -I/usr/lib64/include -I/home/naoto/include -I/usr/include -I/usr/lib64/mpich/include
LIB = /usr/lib64/liblapack.a /usr/lib64/libblas.a /usr/lib64/libg2c.a -lfftw3 -static
ƒƒ“ƒe

Page: [1]