Hi all,
After playing around a bit with the data this is what I get:
The way I have been creating and writing the piddle is like this:
37) $PDL::BIGPDL =1;
38) $matrix = $PDL::BIGPDL = ushort(zeroes(25000, 25000));
39) wcsv2D($matrix, $out);
Error:
multielement piddle in conditional expression at /home/jmontenegro/bin/
build_similarity_matrix.pl line 38.
I am able to reproduce the error using the pdl shell. If I remove the
$PDL::BIGPDL from line 38 then it does not complain and writes the file
correctly.
But if I run the corrected script in the server:
37) $PDL::BIGPDL =1;
38) $matrix = ushort(zeroes(25000, 25000));
39) wcsv2D($matrix, $out);
It complains about a possible typo:
Name "PDL::BIGPDL" used only once: possible typo at line 37
This does not happen in the shell, only when I run the script.
So, what is the correct way to set $PDL::BIGPDL in a script?
Cheers,
Juan Montenegro
2015-04-20 12:12 GMT+10:00 Juan Daniel Montenegro Cabrera <
[email protected]>:
> Hello all,
>
> I am quit new at pdl but have been following it for a few years now. Cut
> to the chase:
>
> I am receiving a complain when trying to write a fairly large 2D pdl (25K
> x 25K matrix):
>
> multielement piddle in conditional expression
>
> The offending line is:
>
> wcsv2D($matrix, $out, {header => $array_ref})
>
> I have run this command before and it works pretty well for other matrices
> up to 20K x 20K.
>
> I cannot see what is the conditional expression here, but I would be
> grateful if you could point me in the right direction.
>
> Best regards,
>
> Juan Montenegro
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general