[julia-users] how to use ccall with a variable containing the symbol of the form :func_

2014-10-01 Thread moritz braun
Dear Friends I want to wrap a fortran code that provides the Lebedev-Laikov quadrature points and weights for 32 different orders for 6 to 5810! I have tried it with the following code for a file LebedevLaikov.jl === module LebedevLaikov export ldfuns ldnames={:ld0006_, :ld0014_

Re: [julia-users] how to use ccall with a variable containing the symbol of the form :func_

2014-10-03 Thread moritz braun
} > > > The symbol name must be constant. Maybe you can get what you want by using > the @eval macro. Have a look in linalg/blas.jl or linalg/lapack.jl where > many fortran function are called. > > Med venlig hilsen > > Andreas Noack > > 2014-10-01 2:12 GMT-04:00 m

Re: [julia-users] how to use ccall with a variable containing the symbol of the form :func_

2014-10-04 Thread moritz braun
ld[$(nld)]=$(fn) end end end On Wednesday, 1 October 2014 16:12:36 UTC+2, Andreas Noack wrote: > > The error message gives a hint > > ERROR: type: fun: in ccall: first argument not a pointer or valid constant >> expression, expected DataType, got Type{(Any...,)} > &g

[julia-users] periodic gc (garbage collection ) when repeatedly calling the same function

2014-10-04 Thread moritz braun
Dear All I am getting an output like this elapsed time: 0.021992131 seconds (15705824 bytes allocated) elapsed time: 0.021885618 seconds (15705824 bytes allocated) elapsed time: 0.069756221 seconds (15705824 bytes allocated, 67.73% gc time) elapsed time: 0.022032602 seconds (15705824 bytes alloc

Re: [julia-users] periodic gc (garbage collection ) when repeatedly calling the same function

2014-10-04 Thread moritz braun
Hi I have looked there but I did not find it very helpful! regards Moritz On Saturday, 4 October 2014 19:12:17 UTC+2, Milan Bouchet-Valat wrote: > > Le samedi 04 octobre 2014 à 09:14 -0700, moritz braun a écrit : > > Dear All > > > > > > I

Re: [julia-users] periodic gc (garbage collection ) when repeatedly calling the same function

2014-10-04 Thread moritz braun
Dear Milan Thanks a lot for your suggestion with @code_typed! regards Moritz On Saturday, 4 October 2014 19:48:24 UTC+2, Milan Bouchet-Valat wrote: > > Le samedi 04 octobre 2014 à 10:14 -0700, moritz braun a écrit : > > Hi > > I have looked there but > > I did

[julia-users] Where to publish numerical work using julia

2014-10-15 Thread moritz braun
Dear Friends I have started using Julia about 4 months ago. Now I am at the point where I would like to publish some of this computational physics work including source code! However the standard journals will probably tell me, that this language is to "immature etc." Any ideas? regards Mori

Re: [julia-users] Where to publish numerical work using julia

2014-10-15 Thread moritz braun
Dear Steven Thanks a lot However CPC seems to be a bitssy and slow even if you submit fortran code. A colleague of mine spent 9 months until the editor was happy with the code. regards Moirtz On Wednesday, 15 October 2014 21:15:40 UTC+2, Steven G. Johnson wrote: > > > > On Wednesday, October

Re: [julia-users] Where to publish numerical work using julia

2014-10-15 Thread moritz braun
Dear Stefan Your words into the publishers/editors ears! Of course I am quite happy with julia. regards Moritz On Wednesday, 15 October 2014 16:28:24 UTC+2, Stefan Karpinski wrote: > > On Wed, Oct 15, 2014 at 7:51 AM, moritz braun > wrote: > >> However the standard jour

[julia-users] Compilation / Executable of Julia for Redhat Enterprise Linux 6.2 ( Santiago)

2014-10-28 Thread moritz braun
errors. ( I will try again soon and post the output of it!) I am a bit a the end of my knowledge! Any hints would be appreciated. regards Moritz Braun

Re: [julia-users] Compilation / Executable of Julia for Redhat Enterprise Linux 6.2 ( Santiago)

2014-10-29 Thread moritz braun
: click the "Edit on GitHub" button at the >>> top-right while viewing the documentation. Add an entry for this, and click >>> "Submit". >>> >>> On Tue, Oct 28, 2014 at 1:12 PM, moritz braun >>> wrote: >>> >>>&g

[julia-users] Compiling Julia without openblas

2014-10-29 Thread moritz braun
Dear All Further to my last post I wanted to find out, how to disable the openblas in building julia, since the openblas and pthreads do not work properly together on redhat 6.2 cluster regards Moritz

Re: [julia-users] Compiling Julia without openblas

2014-10-29 Thread moritz braun
should avoid building OpenBLAS. > > Med venlig hilsen > > Andreas Noack > > 2014-10-29 4:11 GMT-04:00 moritz braun > > : > >> Dear All >> >> Further to my last post >> I wanted to find out, how to disable the openblas in building julia, >> s

Re: [julia-users] Compiling Julia without openblas

2014-10-29 Thread moritz braun
julia root directory and set > > USE_SYSTEM_BLAS=1 > USE_SYSTEM_LAPACK=1 > > then you should avoid building OpenBLAS. > > Med venlig hilsen > > Andreas Noack > > 2014-10-29 4:11 GMT-04:00 moritz braun > > : > >> Dear All >> >> Further t

[julia-users] how to add processes at other hosts from inside julia instead of via --machinefile file on the command line

2014-10-29 Thread moritz braun
Dear All I am working on using julia with LSF and bsub. As you might be aware the bsub command puts the hosts to be used for the job in an enivorment variable LSB_HOSTS. It is easy to create a machinefile from that to be used when starting julia with --machinefile. However It would be quite eleg

[julia-users] Re: how to add processes at other hosts from inside julia instead of via --machinefile file on the command line

2014-10-29 Thread moritz braun
Dear all I found the answer in another post on julia users there is a method for addprocs taking a list of machines! regards Moritz On Thursday, 30 October 2014 08:32:41 UTC+2, moritz braun wrote: > > Dear All > > I am working on using julia with LSF and bsub. > As you might be

[julia-users] problems with remote hosts parallel julia with --machinefile sometimes it works sometimes it doensnt!

2014-10-30 Thread moritz braun
Dear All I am now testing the parallel execution of tasks in julia using the julia --machinefile file option. The problem is it works sometimes while sometimes I get the following error message: ssh_askpass: exec(/usr/libexec/openssh/gnome-ssh-askpass): No such file or directory Host key verific

[julia-users] Re: problems with remote hosts parallel julia with --machinefile sometimes it works sometimes it doensnt!

2014-10-30 Thread moritz braun
ursday, 30 October 2014 09:45:40 UTC+2, moritz braun wrote: > > Dear All > > I am now testing the parallel execution of tasks in julia > using the > julia --machinefile file option. > The problem is it works sometimes > while sometimes I get the following error message: > s