Search found 60 matches

by JoelFrederico
14 Apr 2011, 15:46
Forum: Installation
Topic: Compiling elegant: nlpp not found
Replies: 1
Views: 21393

Re: Compiling elegant: nlpp not found

Simple mistake, I had environment variables only partially set to x86-64.
by JoelFrederico
14 Apr 2011, 15:03
Forum: Installation
Topic: Compiling elegant: nlpp not found
Replies: 1
Views: 21393

Compiling elegant: nlpp not found

When trying to compile elegant (linux_x86-64) I get: joelfrederico@ubuntu:~/oag/apps/src/elegant$ make make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install make[1]: Entering directory `/home/joelfrederico/oag/apps/src/elegant/O.linux-x86_64' nlpp ../save_lattice.nl save_lattic...
by JoelFrederico
14 Feb 2011, 13:25
Forum: Bugs
Topic: Abort trap on iterating watch element
Replies: 1
Views: 4421

Abort trap on iterating watch element

On Mac OSX 10.6.6, just upgraded to Elegant v. 24.0.1, I get an "Abort trap" error that stops the simulation. It appears to occur at this element:

REFEL : WATCH,FILENAME="refel-%04ld.out"

Any ideas?

Error:

...
tracking 10124 particles
Abort trap
by JoelFrederico
03 Jan 2011, 19:47
Forum: Parallel Elegant
Topic: Errors with Pelegant on OSX
Replies: 6
Views: 23951

Re: Errors with Pelegant on OSX

Hi, Yusong, I suppose we could run Pelegant in a Linux virtual machine since it works in Linux? Although that would really not be preferable. Have you had any luck testing on OSX? I will try to run through the Pelegant instructions for Linux with OSX (using the appropriate modifications). Elegant bi...
by JoelFrederico
17 Dec 2010, 17:59
Forum: Parallel Elegant
Topic: Errors with Pelegant on OSX
Replies: 6
Views: 23951

Re: Errors with Pelegant on OSX

I installed MPICH2-1.2.1p1, and it hasn't improved things: error: memory allocation failure--3347054592 bytes requested. tmalloc() has allocated 269319785 bytes previously Pelegant(91041) malloc: *** mmap(size=3347054592) failed (error code=12) *** error: can't allocate region *** set a breakpoint i...
by JoelFrederico
17 Dec 2010, 17:18
Forum: Parallel Elegant
Topic: Errors with Pelegant on OSX
Replies: 6
Views: 23951

Re: Errors with Pelegant on OSX

Thanks very much! I'll build that version of MPICH2 and let you know if it cures things. Do you have any updated Pelegant build instructions that'd work with OSX by any chance? In particular, which versions of which epics configure/source/SDDS/OAG packages should be used and where they should be exp...
by JoelFrederico
16 Dec 2010, 23:47
Forum: Parallel Elegant
Topic: Errors with Pelegant on OSX
Replies: 6
Views: 23951

Errors with Pelegant on OSX

So, I'm getting some very strange behavior from Pelegant. Here's what we've done: 1. Downloaded latest version of Pelegant, v23.1.2. 2. Compiled MPICH2 v1.3.1. Configure options CFLAGS=-m32 -O2 LDFLAGS=-L/usr/X11R6/lib Is this the version of MPICH2 that Pelegant was compiled for? This was working, b...
by JoelFrederico
10 Sep 2010, 17:07
Forum: Parameter Scanning
Topic: Scan multiple elements at once, a la RPN variable?
Replies: 5
Views: 22625

Re: Scan multiple elements at once, a la RPN variable?

Unfortunately, this isn't very elegant... (no pun intended!) I'd have to add a vary_element command for every element I want to vary, and that's rather ugly since I have something like 200 elements I want to vary simultaneously. It doesn't seem that vary_element's name variable tolerates wildcards, ...
by JoelFrederico
10 Sep 2010, 13:16
Forum: Parameter Scanning
Topic: Scan multiple elements at once, a la RPN variable?
Replies: 5
Views: 22625

Re: Scan multiple elements at once, a la RPN variable?

Michael,

Excellent, I've been using vary_element to load scan parameters from SDDS files, but didn't realize it could be set up like this. Specifically, I didn't realize vary_element commands could have the same index_number.

Thanks very much!

Joel
by JoelFrederico
08 Sep 2010, 19:29
Forum: Parameter Scanning
Topic: Scan multiple elements at once, a la RPN variable?
Replies: 5
Views: 22625

Scan multiple elements at once, a la RPN variable?

I'd like to scan the value on multiple elements at once. I can change the value easily using RPN variables in the lattice file, and I was hoping there might be a way to scan an RPN variable. Other solutions also allow changing elements, like alter_elements, etc., but I'd like to be able to do it acr...