help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run and interface external program compiled with ICC (NOT mkoctfile!)


From: Carlos222
Subject: Run and interface external program compiled with ICC (NOT mkoctfile!)
Date: Mon, 28 Jun 2010 09:31:56 -0700 (PDT)

Dear colleagues.
I need your help. I have a code in matlab that now I implement in the
Octave. As you should know the octave for many operations using matrix is
much slower than matlab. Anyway, I am intend to take the slowest part of my
code and compile using the intel compiler and the intel MKL (math kernel
libraries) using all the advantageous of the parallelization in my core i7
processor. The compile program should receive a vector as input and gives
another longer vector as output. My first idea was using files in the hard
disk to interface the program with octave. Something like :
  "save input_file.txt"
  "system(run_icc_compiled)"
 "wait sometime or check the output_file.txt"
 "load the output_file.txt"

The problem is that this part of the program that I want to compile will run
thousand of times and this read/write in disk can make everything slower...

My question is: Is there some more intelligent (and hopefully easy) way to
do this interface without write/read in the disk?

Thank very much.
Carlos

-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/Run-and-interface-external-program-compiled-with-ICC-NOT-mkoctfile-tp2271161p2271161.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]