Hello everybody. I am new to this forum .
I use CB 8.02 on fedora 7 and
i have to say that have helped me all lot.
Show, this is the reason that i want to use it with MPI(MPICH2)
You see i want to use it just like the other programs;
when i click the build button to build the source
and when i click the run button to run the executable.
The problem here, is that when the executable(for example ergasia) is created from CB
the mpi must run it with the command mpiexec -n N ergasia, where N is some number (i.e mpiexec -n 5 ergasia).
When i click the run button, CB executes the ergasia executable
(i.e Executing: xterm -T ergasia -e /usr/bin/cb_console_runner /home/koitas/MPI/ergasia )
but i would like to execute something like this (Executing: xterm -T ergasia -e /usr/bin/cb_console_runner mpiexec -n 4 /home/koitas/MPI/ergasia)
From menu Project->Set programs argument's, it has the option Host application and option Program arguments .
So, i made this script which executes the binary ergasia.
!# /bin/bash
mpiexec -n "$1" /home/koitas/MPI/ergasia
i named the script execute, and put his path at Host application option , hoped that when i click the run button while run this script.
but insists to execute the binary ergasia
So, is there any solution?
Thanks you