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_Commf does not name a type
openmx_common.h:2439: error: eMPI_Commf has not been declared
openmx_common.h:2445: error: eMPI_Commf has not been declared
openmx_common.h:2486: error: variable or field eEigen_PReHHf declared void
openmx_common.h:2486: error: eMPI_Commf was not declared in this scope
openmx_common.h:2487: error: expected primary-expression before edoublef
openmx_common.h:2487: error: expected primary-expression before edoublef
openmx_common.h:2487: error: expected primary-expression before eintf
openmx_common.h:2487: error: expected primary-expression before eintf
openmx_common.h:2487: error: expected primary-expression before eintf
openmx_common.h:2487: error: initializer expression list treated as compound expression
openmx_common.h:2488: error: variable or field eEigen_PHHf declared void
openmx_common.h:2488: error: eMPI_Commf was not declared in this scope
openmx_common.h:2489: error: expected primary-expression before e*f token
openmx_common.h:2489: error: eacf was not declared in this scope
openmx_common.h:2489: error: expected primary-expression before edoublef
openmx_common.h:2489: error: expected primary-expression before eintf
openmx_common.h:2489: error: expected primary-expression before eintf
openmx_common.h:2489: error: expected primary-expression before eintf
openmx_common.h:2489: error: initializer expression list treated as compound expression
openmx_common.h:2490: error: variable or field eBroadCast_ReMatrixf declared void
openmx_common.h:2490: error: eMPI_Commf was not declared in this scope
openmx_common.h:2491: error: expected primary-expression before edoublef
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2491: error: expected primary-expression before eintf
openmx_common.h:2492: error: eMPI_Statusf was not declared in this scope
openmx_common.h:2492: error: estat_sendf was not declared in this scope
openmx_common.h:2493: error: eMPI_Requestf was not declared in this scope
openmx_common.h:2493: error: erequest_sendf was not declared in this scope
openmx_common.h:2494: error: eMPI_Requestf was not declared in this scope
openmx_common.h:2494: error: erequest_recvf 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_ComplexMatrixf declared void
openmx_common.h:2495: error: eMPI_Commf was not declared in this scope
openmx_common.h:2496: error: expected primary-expression before e*f token
openmx_common.h:2496: error: eMatf was not declared in this scope
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2496: error: expected primary-expression before eintf
openmx_common.h:2497: error: eMPI_Statusf was not declared in this scope
openmx_common.h:2497: error: estat_sendf was not declared in this scope
openmx_common.h:2498: error: eMPI_Requestf was not declared in this scope
openmx_common.h:2498: error: erequest_sendf was not declared in this scope
openmx_common.h:2499: error: eMPI_Requestf was not declared in this scope
openmx_common.h:2499: error: erequest_recvf 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_Worldsf declared void
openmx_common.h:2528: error: eMPI_Commf was not declared in this scope
openmx_common.h:2529: error: expected primary-expression before eintf
openmx_common.h:2530: error: expected primary-expression before eintf
openmx_common.h:2531: error: expected primary-expression before eintf
openmx_common.h:2532: error: expected primary-expression before eintf
openmx_common.h:2533: error: eMPI_Commf was not declared in this scope
openmx_common.h:2533: error: eMPI_CommWDf was not declared in this scope
openmx_common.h:2534: error: expected primary-expression before eintf
openmx_common.h:2535: error: expected primary-expression before eintf
openmx_common.h:2536: error: expected primary-expression before eintf
openmx_common.h:2537: error: expected primary-expression before eintf
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_Requestf was not declared in this scope
openmx.c:97: error: expected `;' before erequestf
openmx.c:98: error: eMPI_Statusf was not declared in this scope
openmx.c:98: error: expected `;' before estatusf
openmx.c:102: error: empi_comm_level1f was not declared in this scope
openmx.c:102: error: eMPI_COMM_WORLDf was not declared in this scope
openmx.c:103: error: eMPI_Initf was not declared in this scope
openmx.c:104: error: eMPI_Comm_sizef was not declared in this scope
openmx.c:105: error: eMPI_Comm_rankf was not declared in this scope
openmx.c:116: error: eMPI_Finalizef was not declared in this scope
openmx.c:236: error: eMPI_Barrierf was not declared in this scope
openmx.c:262: error: eMPI_INTf was not declared in this scope
openmx.c:262: error: eMPI_Bcastf was not declared in this scope
openmx.c:295: error: eMPI_Finalizef was not declared in this scope
openmx.c:391: error: eMPI_Finalizef 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_threadsf 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]