smklsmkl has quit [Read error: 60 (Operation timed out)]
smklsmkl has joined #ocaml
kinners has joined #ocaml
avlondono has joined #ocaml
<avlondono>
hi. anyone has compiled ocaml using the Intel Compiler (icc?)
<avlondono>
under Linux?
<avlondono>
:(
<kinners>
to see if there is a gain in speed?
<avlondono>
no ... the reason is the following:
<avlondono>
I need to run an application in a beowulf cluster. The MPI libraries are compiled using icc, and the application segfaults if I compile with gcc
<avlondono>
as soon as calls the icc compiled libraries ...
<avlondono>
the only reason I can think about is a problem in the gcc - icc interaction, is the only option I can think about now, but when trying to compile with icc, the process stop at the beginning with a strange icc error ...
<avlondono>
I mean when trying to compile Ocaml
<avlondono>
I need it to call icc to compile the code. that would be the best I guess.
<avlondono>
the thing is that in a pure gcc environment I never get this kind of problem
<kinners>
ocaml works best with gcc so you might need to alter the configure script for icc
<avlondono>
kinners: that's what I did ... but it's not working, the first file it tries to compile, interp.c
<avlondono>
exits with an internal error. and that's it.
<avlondono>
an icc internal error.
<avlondono>
oh, I just found a report on the crash in the intel website... let's see what I find there.
<avlondono>
nothing
<avlondono>
kinners: thanks a lot. I guess I always push too much from ocaml ... I couldn't have a cross compiler that I needed neither ...
<kinners>
sorry I couldn't be of more help :)
<avlondono>
;)
avlondono has left #ocaml []
kinners has quit ["leaving"]
Riestradh has joined #ocaml
Riastradh has quit [Nick collision from services.]
Riestradh is now known as Riastradh
mfurr has joined #ocaml
mfurr has quit ["Client exiting"]
mr_underhill has joined #ocaml
mrsolo has joined #ocaml
det has quit [Connection timed out]
smklsmkl has quit [Read error: 110 (Connection timed out)]
smklsmkl has joined #ocaml
<mr_underhill>
is anyone around?
<mr_underhill>
I'm having a weird issue
pattern has joined #ocaml
vezenchio has joined #ocaml
smklsmkl has quit [Read error: 110 (Connection timed out)]
smklsmkl has joined #ocaml
<mr_underhill>
hey guys
<mr_underhill>
I'm having weird issues with OCaml
<mr_underhill>
if anyone can help?
<Riastradh>
No one can help you if no one knows anything at all about your problem.
__DL__ has joined #ocaml
__DL__ has quit ["Bye Bye"]
<mr_underhill>
I know
<mr_underhill>
I haven' been telling anyone
<mr_underhill>
because no one says they are here and listneing
<mr_underhill>
it's a simple problem
<mr_underhill>
OCAML is flipping out on OS X because of the case sensitivity of the platform
<mr_underhill>
(I think)
<mr_underhill>
I'll give an example
<Riastradh>
You mean the case insensitivity of HFS+?
<mr_underhill>
well...
<mr_underhill>
I'm not reaslly sure where tha tis
<mr_underhill>
Because I think regular HFS may have that too
<mr_underhill>
and I have never mounted a linux partition on OS X so I'm not sure how it constrains it
<mr_underhill>
but anyways... I'm constructing the simplest possibel testcase
<mr_underhill>
first of all
<mr_underhill>
is it OK to name an ocaml module something like
<mr_underhill>
ThisModule
<Riastradh>
I don't see why not.
<mr_underhill>
that's what I thought
<mr_underhill>
hmm... maybe the problem isn't what I thought
<mr_underhill>
wait
<mr_underhill>
Ah ha
<mr_underhill>
I believe I know what it is
<mr_underhill>
if I have ThisModule as the name of the module
<mr_underhill>
should the file it's in be named ThisModule.ml?
<mr_underhill>
or thismodule.ml?
<Riastradh>
No, it should be 'thisModule.ml'.
<mr_underhill>
?
<mr_underhill>
lower case?
<mr_underhill>
on the first letter
<mr_underhill>
I don't get it :(
<mr_underhill>
oh actually I do but... it's still weird
<mr_underhill>
because it compiles fine when named ThisThing.ml
<Riastradh>
Nor do I. Blame those French weirdos!
<mr_underhill>
okay well thanks for help
<mr_underhill>
I know it's a n00b question but... it was driving me insane!
<mr_underhill>
I was like.... wtf
<mr_underhill>
Now I can get on with my work :)
<mr_underhill>
It's amazing how the simplest answers are the most appreciated
smklsmkl has quit [Read error: 60 (Operation timed out)]
smklsmkl has joined #ocaml
smimou has joined #ocaml
noss has joined #ocaml
smklsmkl has quit [Read error: 110 (Connection timed out)]
smklsmkl has joined #ocaml
gim has joined #ocaml
mrsolo has quit [Read error: 60 (Operation timed out)]
mr_underhill has quit [Read error: 110 (Connection timed out)]
smklsmkl has quit [Read error: 110 (Connection timed out)]
smklsmkl has joined #ocaml
<Banana>
actualy you can name your file either ThisModule.ml or thisModule.ml
Kinners has joined #ocaml
m[kel[ has joined #ocaml
smklsmkl has quit [Read error: 110 (Connection timed out)]
noss has quit [Remote closed the connection]
Shammah has joined #ocaml
m[kel[ has quit [Read error: 60 (Operation timed out)]
m[kel[ has joined #ocaml
Shammah has quit ["ChatZilla 0.9.35 [Mozilla rv:1.5/20030925]"]
mattam_ has joined #ocaml
m[kel[ has quit [Read error: 60 (Operation timed out)]
mads- has joined #ocaml
Pelikan has joined #ocaml
Pelikan has quit [Client Quit]
m[kel[ has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
<malte>
right. what i also meant to say is that i have problems. :) i get the following error: "File "foobar.ml", line 14, characters 31-40: [new line] This expression has type int * int * int but is here used with type int32"
bk__ has joined #ocaml
bk__ is now known as bk_
Kinners has quit ["zzz"]
Pelikan has joined #ocaml
<Pelikan>
hi everyone
<Pelikan>
can someone tell me, where i can get the cmxa files for labgl ?
<Banana>
how did you install it ?
<Banana>
from source or via packages for your distrib ?
<Pelikan>
i don't want to call it a package, but it probably fits best. it was an archive including windows dlls
<Banana>
groumpfff
<Banana>
and the archive doesn't include the cmxa...
<Pelikan>
dont tell me i should link those dlls!
<Pelikan>
*confused*
otsuka has quit [Read error: 110 (Connection timed out)]
<Pelikan>
i thought, i needed the cmxa files for linking statically
<Pelikan>
please don't leave me in an inconsistent state!
<Banana>
yeah i'm looking for info, i don't use windows...
<Banana>
it seems you needs to link against the dll.
<m[kel[>
Pelikan: perhaps that included only a version for bytecode
<Pelikan>
it did, but i'd like to compile a standalone executable.
<m[kel[>
you can do that for bytecode, too .. otherwise you have to compile lablgl yourself
<m[kel[>
did you try if the examples work?
Shammah has joined #ocaml
<Pelikan>
i tried the examples only on toplevel.
<Pelikan>
do you say, i can compile bytecode to native?
<m[kel[>
no, but you can make a standalone executable with bytecode. it includes the interpreter
<slashvar>
(-custom option of ocamlc for information)
<Shammah>
anyone here know anything about moby?
<Pelikan>
i didnt know that, thanks
<m[kel[>
Shammah: do you mean that oo extension of sml?
<Shammah>
the one John Reppy is writing, yeah.
<m[kel[>
ok, not me
<Shammah>
heh. Well at least you recognised it as an extension of sml :)
<m[kel[>
does it have name-based subtyping, like java?
<Shammah>
I'm not sure. I've downloaded everything I can find, but I haven't had a chance to go through it all yet.
slashvar_ has joined #ocaml
slashvar has quit [orwell.freenode.net irc.freenode.net]
demitar_ has quit [orwell.freenode.net irc.freenode.net]
demitar_ has joined #ocaml
Shammah has quit ["ChatZilla 0.9.35 [Mozilla rv:1.5/20030925]"]
Vekza has quit [Read error: 110 (Connection timed out)]
drWorm has joined #ocaml
<drWorm>
is begin .. end more preferred than ( .. ) for compound statements? i guess it's a matter of style, but what do people prefer?
<drWorm>
s/statements/expressions/ :)
<gl>
I prefer ( )
<drWorm>
ok
<malte>
me too
<drWorm>
begin .. end felt very pascal to me to begin with, but after working with some ocaml library code (set.ml) i see it can sometimes make the code more readable
Dybbuk has quit [Remote closed the connection]
<Banana>
I use (e1;e2;...;en) when en does'nt return unit and is used by something else, and begin end if the last expression return unit. (eg a list of drawing instrucion using the Graphics ).
Vekza has joined #ocaml
m[kel[ has quit [Read error: 60 (Operation timed out)]
Dybbuk has joined #ocaml
<drWorm>
i see, sounds good
derfy has joined #ocaml
m[kel[ has joined #ocaml
drWorm has quit ["Lost terminal"]
m[kel[ has quit [Read error: 110 (Connection timed out)]