Re: [Ffc] Not writing generated code to file

2011-08-31 Thread Johan Hake
On Wednesday August 31 2011 12:20:40 Johan Hake wrote: > On Wednesday August 31 2011 12:14:55 Anders Logg wrote: > > On Wed, Aug 31, 2011 at 12:07:42PM -0700, Johan Hake wrote: > > > A recent commit to instant fixes this problem. > > > > > > The reason this has been a problem before is that the fi

Re: [Ffc] Not writing generated code to file

2011-08-31 Thread Johan Hake
On Wednesday August 31 2011 12:14:55 Anders Logg wrote: > On Wed, Aug 31, 2011 at 12:07:42PM -0700, Johan Hake wrote: > > A recent commit to instant fixes this problem. > > > > The reason this has been a problem before is that the filelocking system > > used by instant does not work for NFS. Whic

Re: [Ffc] Not writing generated code to file

2011-08-31 Thread Anders Logg
On Wed, Aug 31, 2011 at 12:07:42PM -0700, Johan Hake wrote: > A recent commit to instant fixes this problem. >   > The reason this has been a problem before is that the filelocking system used > by instant does not work for NFS. Which many of use when submitting jobs to a > cluster. >   > I found a

Re: [Ffc] Not writing generated code to file

2011-08-31 Thread Johan Hake
A recent commit to instant fixes this problem. The reason this has been a problem before is that the filelocking system used by instant does not work for NFS. Which many of use when submitting jobs to a cluster. I found a NFS safe file locking library online, fcntl: https://launchpad.net/fl

Re: [Ffc] Not writing generated code to file

2011-08-08 Thread Andy Ray Terrel
On Mon, Aug 8, 2011 at 11:46 AM, Anders Logg wrote: > On Mon, Aug 08, 2011 at 10:38:37AM -0500, Andy Ray Terrel wrote: >> On Mon, Aug 8, 2011 at 10:27 AM, Johan Hake wrote: >> > On Monday August 8 2011 04:33:41 Anders Logg wrote: >> >> On Wed, Aug 03, 2011 at 08:49:24PM -0700, Johan Hake wrote: >

Re: [Ffc] Not writing generated code to file

2011-08-08 Thread Anders Logg
On Mon, Aug 08, 2011 at 10:38:37AM -0500, Andy Ray Terrel wrote: > On Mon, Aug 8, 2011 at 10:27 AM, Johan Hake wrote: > > On Monday August 8 2011 04:33:41 Anders Logg wrote: > >> On Wed, Aug 03, 2011 at 08:49:24PM -0700, Johan Hake wrote: > >> > Hello! > >> > > >> > Why do we write generated code

Re: [Ffc] Not writing generated code to file

2011-08-08 Thread Andy Ray Terrel
On Mon, Aug 8, 2011 at 10:27 AM, Johan Hake wrote: > On Monday August 8 2011 04:33:41 Anders Logg wrote: >> On Wed, Aug 03, 2011 at 08:49:24PM -0700, Johan Hake wrote: >> > Hello! >> > >> > Why do we write generated code to file when the jit compilation is used? >> > This introduce a cause of erro

Re: [Ffc] Not writing generated code to file

2011-08-08 Thread Johan Hake
On Monday August 8 2011 04:33:41 Anders Logg wrote: > On Wed, Aug 03, 2011 at 08:49:24PM -0700, Johan Hake wrote: > > Hello! > > > > Why do we write generated code to file when the jit compilation is used? > > This introduce a cause of error which has annoyed me for some time now. > > Instead of w

Re: [Ffc] Not writing generated code to file

2011-08-08 Thread Anders Logg
On Wed, Aug 03, 2011 at 08:49:24PM -0700, Johan Hake wrote: > Hello! > > Why do we write generated code to file when the jit compilation is used? This > introduce a cause of error which has annoyed me for some time now. Instead of > writing the code to file and then in ufc.build we just read the fi