Re: [OMPI users] configuration openMPI problem

2012-11-26 Thread Diego Avesani
Dear all, Dear Tom, you are right, sorry. I was only too excited, I had just able to configure openMPI after many hours spent in FAQ, google and in the mailing list. I will read more carefully. Thanks again to you all. Diego On 26 November 2012 15:36, Elken, Tom wrote:

Re: [OMPI users] configuration openMPI problem

2012-11-26 Thread Elken, Tom
Now I would like to test it with a simple hello project. Ralph Castain suggest me the following web site: https://wiki.mst.edu/nic/examples/openmpi-intel-fortran90-example This is the results of my simulation: Hello World! I am0 of1 How ever I have a quad core

Re: [OMPI users] configuration openMPI problem

2012-11-26 Thread Diego Avesani
dear all, Now it seems to work, I mean the confinguration ended and I did also make installi all. Here It's what I did: 1) sudo bash (to put the openmpi folder in opt) 2) ./configure --prefix=/opt/openmpi CC=icc CXX=icpc F77=ifort FC=ifort n.b I did not use sudo ./configure

Re: [OMPI users] configuration openMPI problem

2012-11-26 Thread Gus Correa
Hi Diego > deal all, dear Gustavo, > > This is my bash.bashrc in ubuntu 12.04: > > ## > /PATH="/opt/intel/bin/compilervars.sh intel64$PATH"/ > /source /opt/intel/bin/compilervars.sh intel64/ > /source /opt/intel/mkl/bin/mklvars.sh intel64 mod lp64/ >

Re: [OMPI users] configuration openMPI problem

2012-11-26 Thread Diego Avesani
deal all, dear Gustavo, This is my bash.bashrc in ubuntu 12.04: ## *PATH="/opt/intel/bin/compilervars.sh intel64$PATH"* *source /opt/intel/bin/compilervars.sh intel64* *source /opt/intel/mkl/bin/mklvars.sh intel64 mod lp64* *export PATH*

Re: [OMPI users] configuration openMPI problem

2012-11-25 Thread Gustavo Correa
On Nov 24, 2012, at 11:38 PM, Diego Avesani wrote: > dear all, > thanks for the web site. > > About the previous question. Can I compile with only ifort? > I mean: > udo ./configure --prefix=/opt/ompi-1.6 FC=ifort > avoiding the others? Hi This will probably build openMPI with the native C/C++

Re: [OMPI users] configuration openMPI problem

2012-11-24 Thread Diego Avesani
dear all, thanks for the web site. About the previous question. Can I compile with only ifort? I mean: udo ./configure --prefix=/opt/ompi-1.6 FC=ifort avoiding the others? thanks again Diego On 24 November 2012 15:14, Rayson Ho wrote: > That's what Google is for!

Re: [OMPI users] configuration openMPI problem

2012-11-24 Thread Rayson Ho
That's what Google is for! You can very easily find lots of examples by Google Searching: mpi+fortran+examples Like this one: http://www.dartmouth.edu/~rc/classes/intro_mpi/hello_world_ex.html Or this one, with C & Fortran examples side by side: https://computing.llnl.gov/tutorials/mpi/ Rayson

Re: [OMPI users] configuration openMPI problem

2012-11-24 Thread Diego Avesani
Dear Rayson and all, I run only with iFort and the compile works, I use only ifort. Now I have folder with OPT. If it works now and it is ok use only iFort what can I do to learn? I mean where can I find a good tutorial or hello project in fortran. I have found something for c but nothing about

Re: [OMPI users] configuration openMPI problem

2012-11-24 Thread Rayson Ho
In your shell, run: export PATH=$PATH And then rerun configure again with the original parameters again - it should find icc & ifort this time. Rayson == Open Grid Scheduler - The Official Open Source Grid Engine

Re: [OMPI users] configuration openMPI problem

2012-11-23 Thread Diego Avesani
hi, thank for your replay. I currently use ifort to compile my program. I write also a hello program for icc and it works. After that I have run ./configure --prefix=/usr/local without specified any compiler and it seem to work. Now I have a ompi-1.6 folder in my opt folder. A question: Can I

Re: [OMPI users] configuration openMPI problem

2012-11-23 Thread Ralph Castain
I believe what it is telling you is that icc is not in your PATH. Please check that icc, icpc, and ifort are all in your PATH. On Nov 23, 2012, at 11:35 AM, Diego Avesani wrote: > dear all, > thanks for the replay, > >./configure: line 5373: icc: command not

Re: [OMPI users] configuration openMPI problem

2012-11-23 Thread Diego Avesani
dear all, thanks for the replay, ./configure: line 5373: icc: command not found configure:5382: $? = 127 configure:5371: icc -v >&5 I am totally new, What can I do? As I told you if I compile a simple hello program with icc it works. Thanks Diego On 23 November 2012 15:45, Diego

Re: [OMPI users] configuration openMPI problem

2012-11-23 Thread Rayson Ho
If you read the log, you will find: ./configure: line 5373: icc: command not found configure:5382: $? = 127 configure:5371: icc -v >&5 Rayson == Open Grid Scheduler - The Official Open Source Grid Engine

[OMPI users] configuration openMPI problem

2012-11-23 Thread Diego Avesani
dear all, I am new in openMPI world and in general in parallelization. I have some problem with configuration of openMPI in my laptop. I have read your FAQ and I tried to google the problem but I was not able to solve it. The problem is: I have downloaded the openmpi-1.6.3, unpacked it Then I