[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] question about calling gsl_multimin_fminimizer while using MP
From: |
Haiying Pang |
Subject: |
[Help-gsl] question about calling gsl_multimin_fminimizer while using MPI |
Date: |
Fri, 21 Oct 2011 12:06:56 -0500 |
hi, All,
I am wondering if anyone out there has a clue how to call
gsl_multimin_fminimizer while the function evaluated iteratively has both
parallel and serial part. The problem I have now is that I don't know where
I should call MPI_init(). I know MPI_init() can only be called once, so it
got be in the function that calls gsl_multimin_fminimizer to avoid multiple
callings, but the parallel starts once MPI_init() is called, which means
there will be multiple processors that run gsl_multimin_fminimizer_iterate,
but I only want parallel to start in the function that
gsl_multimin_fminimizer evaluates, the part with
gsl_multimin_fminimizer_iterate should be serial.
I hope I made you understand my question. Appreciate for any help!
--
Haiying Pang
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-gsl] question about calling gsl_multimin_fminimizer while using MPI,
Haiying Pang <=