Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
On Sun, Feb 21, 2021 at 08:19:39AM -0600, Luis Mochan wrote: > On Sun, Feb 21, 2021 at 09:56:43AM +, Ed . wrote: > > Thanks for the report! (I’m hoping the new 0.07 still works with the > > main-released 2.026 as well) > > I just tried it, PERL 2.32.1... Sorry, 5.32.1 -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB ___ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general
Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
On Sun, Feb 21, 2021 at 09:56:43AM +, Ed . wrote: > Thanks for the report! (I’m hoping the new 0.07 still works with the > main-released 2.026 as well) I just tried it, PERL 2.32.1, PDL 2.0026 and FFTW3 0.07. It PASSed its tests and it seems to work. Regards, Luis -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB ___ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general
Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
Thanks for the report! (I’m hoping the new 0.07 still works with the main-released 2.026 as well) From: Luis Mochan<mailto:moc...@icf.unam.mx> Sent: 21 February 2021 01:21 To: pdl-de...@lists.sourceforge.net<mailto:pdl-de...@lists.sourceforge.net>; perldl<mailto:pdl-general@lists.sourceforge.net> Subject: Re: [Pdl-devel] PDL 2.026 released to CPAN On Sun, Feb 21, 2021 at 12:22:22AM +, Ed . wrote: > It was because PDL::FFTW3 had pp_def params called “complex” which clashed > with complex.h. I’ve changed them and released 0.07 which cleverly renames > those params to “complexv”. Please give that a go! It seems to work OK now, with 026_001. Regards, Luis -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB ___ pdl-devel mailing list pdl-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-devel ___ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general
Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
On Sun, Feb 21, 2021 at 12:22:22AM +, Ed . wrote: > It was because PDL::FFTW3 had pp_def params called “complex” which clashed > with complex.h. I’ve changed them and released 0.07 which cleverly renames > those params to “complexv”. Please give that a go! It seems to work OK now, with 026_001. Regards, Luis -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB ___ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general
Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
Hi Ed, On Sun, Feb 21, 2021 at 12:22:22AM +, Ed . wrote: > It was because PDL::FFTW3 had pp_def params called “complex” which clashed > with complex.h. I’ve changed them and released 0.07 which cleverly renames > those params to “complexv”. Please give that a go! Thanks, will try it. > By the way, you gave me a nasty turn there – I thought you meant with the > actual PDL 2.026! In fact you meant with the dev-released 2.026_01 (phew). In > any case, thank you for the report. Ups! Sorry. I didn't know I mixed versions. I thought I installed 2.026_001 under a different lib, but now I realize I made a mistake. I used tmux and different versions of perl and of pdl in different libs in differrent windows and I guess I got confused. Now I tried installing under 2.026 and it did install (and my program did run afterwards). Thanks for clearing this up. Regards, Luis -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB ___ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general
Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
It was because PDL::FFTW3 had pp_def params called “complex” which clashed with complex.h. I’ve changed them and released 0.07 which cleverly renames those params to “complexv”. Please give that a go! By the way, you gave me a nasty turn there – I thought you meant with the actual PDL 2.026! In fact you meant with the dev-released 2.026_01 (phew). In any case, thank you for the report. Best regards, Ed From: Luis Mochan<mailto:moc...@icf.unam.mx> Sent: 20 February 2021 20:53 To: pdl-de...@lists.sourceforge.net<mailto:pdl-de...@lists.sourceforge.net>; perldl<mailto:pdl-general@lists.sourceforge.net> Subject: Re: [Pdl-devel] PDL 2.026 released to CPAN Hi, I tried to install PDL::FFTW3 using the new PDL 2.026 and perl 5.32.1 under perlbrew, with no success. I don't know if it's perl or PDL or fftw3... or myself. I attach the results of make. Thanks and regards, Luis On Mon, Feb 15, 2021 at 10:47:34PM -0600, Luis Mochan wrote: > Just intalled PDL 2-026 using perlbrew/cpanm under perl > 5.32.1. Haven't tested it yet, but it didn't complain. > Regards, > Luis > > > -- > > o > W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) > Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ > Av. Universidad s/n CP 62210 | (*)/\/ \ > Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ > GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB > > > ___ > pdl-devel mailing list > pdl-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pdl-devel -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB ___ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general
Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
It seems that PDL::FFTW3 installs with no problemas using PDL 2.026 and perl 5.28.0, so the problem might have to do with the upgrade to perl 5.32.0. Regards, Luis On Sat, Feb 20, 2021 at 02:52:37PM -0600, Luis Mochan wrote: > Hi, > I tried to install PDL::FFTW3 using the new PDL 2.026 and perl 5.32.1 > under perlbrew, with no success. I don't know if it's perl or PDL or > fftw3... or myself. > I attach the results of make. > Thanks and regards, > Luis > > > > On Mon, Feb 15, 2021 at 10:47:34PM -0600, Luis Mochan wrote: > > Just intalled PDL 2-026 using perlbrew/cpanm under perl > > 5.32.1. Haven't tested it yet, but it didn't complain. > > Regards, > > Luis > > > > > > -- > > > > o > > W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) > > Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ > > Av. Universidad s/n CP 62210 | (*)/\/ \ > > Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ > > GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB > > > > > > ___ > > pdl-devel mailing list > > pdl-de...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pdl-devel > > -- > > o > W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) > Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ > Av. Universidad s/n CP 62210 | (*)/\/ \ > Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ > GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB > "/home/mochan/perl5/perlbrew/perls/perl-5.32.1/bin/perl" > -MExtUtils::Command::MM -e 'cp_nonempty' -- FFTW3.bs > blib/arch/auto/PDL/FFTW3/FFTW3.bs 644 > cc -c > "-I/home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/Core" > --std=gnu99 -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" -fPIC > "-I/home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/5.32.1/x86_64-linux/CORE" >FFTW3.c > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP/PDLCode.pm: > In function ‘pdl___fft1_readdata’: > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP/PDLCode.pm:500: > warning: "static_assert" redefined > 500 | ) > | > In file included from > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/5.32.1/x86_64-linux/CORE/perl.h:3638, > from > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1018: > /usr/include/assert.h:143: note: this is the location of the previous > definition > 143 | # define static_assert _Static_assert > | > In file included from > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/Core/pdl.h:9, > from > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1020: > FFTW3.xs: In function ‘XS_PDL___rfft1’: > FFTW3.xs:20604:9: error: expected identifier or ‘(’ before ‘_Complex’ > 20604 | pdl *complex; > | ^~~ > FFTW3.xs:20621:13: error: expected identifier or ‘(’ before ‘=’ token > 20621 | complex = PDL->SvPDLV(ST(1)); > | ^ > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1853:16: > error: expected identifier or ‘(’ before ‘=’ token > 1853 | > |^ > In file included from > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/Core/pdl.h:9, > from > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1020: > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1854:34: > error: expected expression before ‘_Complex’ > 1854 | # This subroutine is called when no 'otherpars' exist. > | ^~~ > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1864:16: > error: expected identifier or ‘(’ before ‘=’ token > 1864 | > |^ > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:2571:14: > error: expected ‘)’ before ‘->’ token > 2571 | > | ^ > In file included from > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/Core/pdl.h:9, > from > /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1020: >
Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
Hi, I tried to install PDL::FFTW3 using the new PDL 2.026 and perl 5.32.1 under perlbrew, with no success. I don't know if it's perl or PDL or fftw3... or myself. I attach the results of make. Thanks and regards, Luis On Mon, Feb 15, 2021 at 10:47:34PM -0600, Luis Mochan wrote: > Just intalled PDL 2-026 using perlbrew/cpanm under perl > 5.32.1. Haven't tested it yet, but it didn't complain. > Regards, > Luis > > > -- > > o > W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) > Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ > Av. Universidad s/n CP 62210 | (*)/\/ \ > Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ > GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB > > > ___ > pdl-devel mailing list > pdl-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pdl-devel -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB "/home/mochan/perl5/perlbrew/perls/perl-5.32.1/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FFTW3.bs blib/arch/auto/PDL/FFTW3/FFTW3.bs 644 cc -c "-I/home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/Core" --std=gnu99 -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" -fPIC "-I/home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/5.32.1/x86_64-linux/CORE" FFTW3.c /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP/PDLCode.pm: In function ‘pdl___fft1_readdata’: /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP/PDLCode.pm:500: warning: "static_assert" redefined 500 | ) | In file included from /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/5.32.1/x86_64-linux/CORE/perl.h:3638, from /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1018: /usr/include/assert.h:143: note: this is the location of the previous definition 143 | # define static_assert _Static_assert | In file included from /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/Core/pdl.h:9, from /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1020: FFTW3.xs: In function ‘XS_PDL___rfft1’: FFTW3.xs:20604:9: error: expected identifier or ‘(’ before ‘_Complex’ 20604 | pdl *complex; | ^~~ FFTW3.xs:20621:13: error: expected identifier or ‘(’ before ‘=’ token 20621 | complex = PDL->SvPDLV(ST(1)); | ^ /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1853:16: error: expected identifier or ‘(’ before ‘=’ token 1853 | |^ In file included from /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/Core/pdl.h:9, from /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1020: /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1854:34: error: expected expression before ‘_Complex’ 1854 | # This subroutine is called when no 'otherpars' exist. | ^~~ /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1864:16: error: expected identifier or ‘(’ before ‘=’ token 1864 | |^ /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:2571:14: error: expected ‘)’ before ‘->’ token 2571 | | ^ In file included from /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/Core/pdl.h:9, from /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:1020: /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:2572:10: error: expected identifier before ‘_Complex’ 2572 | sub NT2Copies_p {__({ToPtrs=>1},@_);} | ^~~ /home/mochan/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64-linux/PDL/PP.pm:2572:63: error: expected expression before ‘_Complex’ 2572 | sub NT2Copies_p {__({ToPtrs=>1},@_);} | ^
Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
Just intalled PDL 2-026 using perlbrew/cpanm under perl 5.32.1. Haven't tested it yet, but it didn't complain. Regards, Luis -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB ___ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general
Re: [Pdl-general] [Pdl-devel] PDL 2.026 released to CPAN
Thanks for the announcement and for all the work! Luis On Mon, Feb 15, 2021 at 04:01:05PM -0700, Derek Lamb wrote: > Dear PDL users, > > Ed recently released PDL 2.026 to CPAN. (https://metacpan.org/release/PDL) > > There are several notable changes since the last announcement to this email > list, of PDL 2.020 on 2019-12-11. Thanks go to @mohawk2 (Ed), @wmlb (Luis > Mochán), @newville (Matt Newville), and @sebastic (Bas Couwenberg) for their > contributions, as well as to the users who filed bug reports. > > User-visible changes: > > * Refactor the documentation system to handle multiple functions with the > same name (e.g., "max") and some indication from 'apropos' as to which module > the function is in; > > * Added function PDL::IO::Pic::imageformat to determine the format of an > image file; > > * Fixed PDL::IO::FITS::wfits so that explicitly setting BITPIX works; > > * Fixed PDL::IO::FITS::rfits handling of BLANK values in some Rice-compressed > images; > > * Removed the extrapolation code from PDL::GSL::INTERP that stopped working > in recent GSL versions; > > * Many additions to the PDL::Matlab documentation. > > Under-the-hood changes: > > * Many fixes to spelling in documentation and code; > > * Fixes to various build components including compilation, tests, and > diagnostic information; > > * Many simplifications and fixes to POD markup. > > Please report any issues you find to the mailing list (good), or create an > issue (better) or a pull request (best!) on GitHub. Thanks, and Happy > PDL-ing! > > Derek > > ___ > pdl-devel mailing list > pdl-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pdl-devel -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB ___ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general