To be honest, I'm not sure. I've only ever done it on Mac. I think you may have to set the CFLAGS and CXXFLAGS to add a gcc flag to compile 32-bit (probably using the -march flag or something equivalent). Of course, you would have to make sure the variable is set at the beginning of the first invocation of CMake to ensure that the TRY_RUNs provide the right information.
-Ken ________________________________ From: Biao She [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2008 3:24 PM To: Moreland, Kenneth Subject: Re: [Paraview] 64 bit Thanks for your advice. I really appreciate. This might be a silly question, but I don't know how to control the 64 bit or 32 bit compile. Is there an cmake option for that or should I try to compile it on a 32 bit system? Cheers, Aaron On Thu, Aug 28, 2008 at 3:15 PM, Moreland, Kenneth <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: That is correct. From your description of the error, I thought you might have been trying to run "mpirun -np 4 ./paraview", which will not work. I've never run into your error (although I have little experience with 64-bit builds). From the details you gave I cannot know what might be causing the rendering slowness, but have you tried compiling everything 32-bit? That would at least give you comparison timing and help you narrow down whether the problem is related to the 64-bit build. -Ken ________________________________ From: Biao She [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] Sent: Thursday, August 28, 2008 3:10 PM To: Moreland, Kenneth Subject: Re: [Paraview] 64 bit Hi Ken. Thanks for you reply. Sorry for the confusion. I am not sure if I get what you mean. but I run the paraview server program in an MPI job and then run the paraview executable to connect to the server. The command which I use to start paraview server is: "mpirun -np 4 ./pvserver". Is this the information you want from me? Please let me know if I am wrong. Thanks again! Aaron On Thu, Aug 28, 2008 at 7:09 AM, Moreland, Kenneth <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: What do you mean by running ParaView in parallel? You are not trying to run the paraview executable in an MPI job, are you? -Ken ________________________________ From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Biao She Sent: Wednesday, August 27, 2008 4:26 PM To: [email protected]<mailto:[email protected]> Subject: [Paraview] 64 bit Hi there. I try to use a 64 bit linux to run paraview and I can compile and install it successfully. The problem is when I run the software in the parallel mode, I get errors like this: paraview(15611): unaligned access to 0x20000000034381cc, ip=0x2000000001d84ca1 The rendering speed is quiet slow even when I use lots of CUPs. I don't know if these errors are reponsible for the slow speed. Does anyone know how to fix the problem? Thanks a lot! Aaron -- She, Biao Department of Computing Science, University of Alberta, Edmonton, Canada -- She, Biao Department of Computing Science, University of Alberta, Edmonton, Canada
_______________________________________________ ParaView mailing list [email protected] http://www.paraview.org/mailman/listinfo/paraview
