List Info

Thread: LAM: how to easily create an interface program for a C++ project in Linux box




LAM: how to easily create an interface program for a C++ project in Linux box
country flaguser name
China
2007-06-08 06:15:09
 
our project is to develop a parallel program which can search documents (*.txt files) from a large document collection matching with query requirements. Now, we have finished the search engine program using C++ and MPI on Linux. We compiled and tested the program in command line mode.
 To complete the project, we need to create a interface for the
search engine program in Linux box so that the system can accept query words and display query results in a user friendly fashion (a window interface, in which users can simly click on a button to submit his querys, and see the results displayed in a table. A doucment shown in a row of the table can be opened when users click on that row).
We do not have any experiences with this. We do not know which computer language is best suitable to our case. Can anyone please share your experiences with us, or provide some helpful advices.
 
cy163


ͨ¹ý Windows Live Spaces ÓëÅóÓÑÇáËɹ²ÏíÄúµÄÉú»î¡£ Á¢¼´³¢ÊÔ£¡
Re: LAM: how to easily create an interface program for a C++ project in Linux box
country flaguser name
Germany
2007-06-08 06:24:19
On Fri, 8 Jun 2007, chenyong wrote:

> To complete the project, we need to create a interface
for thesearch 
> engine program in Linux box so that the system can
accept query 
> words and display query results in a user friendly
fashion (a window 
> interface, in which users can simly click on a button
to submit his 
> querys, and see the results displayed in a table. A
doucment shown 
> in a row of the table can be opened when users click on
that row).

To me, this sounds very much like a web interface. You need
a web 
server and knowledge of some scripting language (PHP, Perl,
Python, 
Ruby, Java, etc.) or even a compiled application that can
interface 
with your MPI program and can take HTML queries and produce
HTML 
output. The interaction with the MPI program can simply be
done via 
its standard input/output - this way the MPI program is a
completely 
separate entity from the script/program that does the HTML
part, so 
you wouldn't have to think about linking f.e. graphical
libraries in 
the MPI program and synchronization issues.

-- 
Bogdan Costescu

IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches
Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg,
GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.CostescuIWR.Uni-Heidelberg.De
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )