Page 1 of 1

Parallel Routine questions

Posted: Tue Sep 05, 2006 2:53 am
by aaikat
1.Please let me know how one should be sure whether C/C++ compiler is installed in the server or not.

2.What are the DS parameters need to be set to run a parallel routine.

3.Where to write the code of the routine in DS.

4.Please give me an example of a simple C/C++ Parallel routine code.

Thanks

Posted: Tue Sep 05, 2006 10:51 am
by lstsaur
Hi,
You will find a complete example in \Samples\TrxExternalFunctions directory of CDROM.

Posted: Tue Sep 05, 2006 1:13 pm
by gsherry1
This post deals with unix platform, which is pretty well covered by the samples directory on the cd. What is not contained there are Windows compilation examples.

Does anybody have any recommended compilation flags for parallel routines when compiling with Visual Studio .net?

- Greg

Posted: Wed Sep 06, 2006 1:51 pm
by seanc217
When compiling make sure to compile as a release not debug or else it will not work. I never got a dll to work. I compilied the code as a .lib and this works fine for me.

Let me know if you need more info.