Search found 20 matches

by wmliu
13 Dec 2011, 11:14
Forum: Optimization and Matching
Topic: element#1.Particles in optimization with Pelegant
Replies: 5
Views: 4834

Re: element#1.Particles in optimization with Pelegant

Yusong, Sorry for the misleading information in my previous post. The problem is still there. Because the number of particles at elements are missing with Pelegant, the optimization term will always be 1 after I made the previous change. So I only get away with the error message but not the real pro...
by wmliu
12 Dec 2011, 17:02
Forum: Optimization and Matching
Topic: element#1.Particles in optimization with Pelegant
Replies: 5
Views: 4834

Re: element#1.Particles in optimization with Pelegant

Yusong,

I managed to get around it by replace the number of particles with the known number at the beginning and still use the number of particles at the end of the last element.

Thanks,

Wanming
by wmliu
12 Dec 2011, 14:37
Forum: Optimization and Matching
Topic: element#1.Particles in optimization with Pelegant
Replies: 5
Views: 4834

Re: element#1.Particles in optimization with Pelegant

Yusong, Please find the attached file. In this example, because the lattice has been optimized, so elegant will finish very fast. But when I do it with mpirun -n 6 Pelegant ....., it ended up with the error message. If I commented out the optimization term with number of particles involved, both ele...
by wmliu
12 Dec 2011, 12:20
Forum: Optimization and Matching
Topic: element#1.Particles in optimization with Pelegant
Replies: 5
Views: 4834

element#1.Particles in optimization with Pelegant

Hi, When I use element#1.Particles to optimize for transmission using elegant, every thing works perfectly. But when I tried to speed up with Pelegant, I'm getting error like "Problem evaluating expression: MENDARC0#1.Particles MSOL3LTR#1.Particles - MENDARC0#1.Particles / RPN expression errors prev...
by wmliu
08 Dec 2011, 11:21
Forum: Optimization and Matching
Topic: randomwalk with parallel optimization
Replies: 3
Views: 3628

Re: randomwalk with parallel optimization

Michael and Yusong

Thanks for the help.

Wanming
by wmliu
07 Dec 2011, 18:25
Forum: Optimization and Matching
Topic: randomwalk with parallel optimization
Replies: 3
Views: 3628

randomwalk with parallel optimization

Hello, I'm trying to do parallel optimizations on a quad core desktop and trying to figure out which method is the best for job. From the manual, it says that the method for parallel optimization may be one of "genetic", "hybridsimplex" or "swarm". I don't have much computation resource, so "swarm" ...
by wmliu
20 Dec 2010, 10:53
Forum: Parallel Elegant
Topic: Problem with Pelegant in cygwin
Replies: 6
Views: 14453

Re: Problem with Pelegant in cygwin

Yusong, I made a change to SDDSmpi_output.c to make the latest Pelegant working under cygwin. I changed the following line in function SDDS_MPI_File_Open from if( MPI_SUCCESS != (mpi_code=MPI_File_sync(MPI_dataset->MPI_file))) SDDS_MPI_GOTO_ERROR(stderr,"MPI_File_sync failed", mpi_code, 1); into if(...
by wmliu
14 Dec 2010, 14:43
Forum: Parallel Elegant
Topic: Problem with Pelegant in cygwin
Replies: 6
Views: 14453

Re: Problem with Pelegant in cygwin

Yusong,

Thanks for your replies.
For the one I made it working, it is version 21.0 and I built it with DSDDS_MPI_IO=0.
I'll try the Windows version later.

Thanks,

Wanming
by wmliu
14 Dec 2010, 12:34
Forum: Parallel Elegant
Topic: Problem with Pelegant in cygwin
Replies: 6
Views: 14453

Problem with Pelegant in cygwin

Hi, I'm trying to get the latest Pelegant work under cygwin with quad core desktop. The problem I have now is that I always run into problem with MPI_File_sync failed: Other I/O error , error stack: ADIOI_GEN_FLUSH(23): Other I/O error Permission denied I tried to build Pelegant with DSDDS_MPI_IO=0,...
by wmliu
03 Nov 2010, 13:56
Forum: Parallel Elegant
Topic: Is CWiggler element parallelizable
Replies: 12
Views: 25385

Re: Is CWiggler element parallelizable

Yusong, Thanks for all the help. It might be simply caused by an incomplete build before I enabled the flag. I usually did the build for serial first and I might forgot to do make clean before make Pelegant. I got it work under both cygwin in a Vista quad core desktop and Fedora in a quad core lapto...