Re: Configuration on IceLake

2021-10-13 Thread Torbjörn Granlund
Arturo Fernandez  writes:

  Just for clarification, I'm no longer seeing the 'm4-ccas: Permission
  denied' error. I started on a fresh system (cloud-based) running
  CentOS8.4, unpacked gmp-6.2.99-20211010014524 and simply run
  ./configure, which returned:
  Version: GNU MP 6.2.99
  Host type: nehalem-pc-linux-gnu

What evidence do you have for this system being an Ice Lake?

And even if it is, you're presumably using a virtualised system (being
in "the cloud") and virtualisers are sometimes configured to pretend the
CPU is of a different type than they actually are.

  This was my original problem, which is that configure is not picking
  up IceLake and assigning nehalem to the host type. I'm not sure if the
  GMPLIB Team is testing these new patches on IceLake HW but it might be
  worth considering before releasing a stable version.

Sneer will not inspire us helping you.

It might be the case that GMP doesn't recognise every family/model which
Intel uses for Ice lake.  If you show us that the cpuid instruction
returns for you system, then we can tell where the problem lies.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Configuration on IceLake

2021-10-13 Thread Arturo Fernandez
Hi Torbjörn,
Just for clarification, I'm no longer seeing the 'm4-ccas: Permission denied' 
error. I started on a fresh system (cloud-based) running CentOS8.4, unpacked 
gmp-6.2.99-20211010014524 and simply run ./configure, which returned:
Version: GNU MP 6.2.99
Host type: nehalem-pc-linux-gnu
ABI: 64
Install prefix: /usr
Compiler: gcc
Static libraries: yes
Shared libraries: yes 
This was my original problem, which is that configure is not picking up IceLake 
and assigning nehalem to the host type. I'm not sure if the GMPLIB Team is 
testing these new patches on IceLake HW but it might be worth considering 
before releasing a stable version.
Thanks,
Arturo

Torbjörn Granlund wrote:
Arturo Fernandez mailto:afernan...@odyhpc.com> > writes:
Hello. I was finally able to get back and work on this
configuration. Yesterday evening I downloaded the latest version
(gmp-6.2.99-20211010014524) but it is still unable to recognize
IceLake. The command configure is returning:
Version: GNU MP 6.2.99
Host type: nehalem-pc-linux-gnu
ABI: 64
Install prefix: /usr
Compiler: gcc
Static libraries: yes
Shared libraries: yes
It is hard to provide support when the context is lost due do months
long delays.
I am sorry you keep seeing problems with executing exeutable GMP scripts
on several systems. It is an unusual problem, and not something we can
fix on the GMP side. We cannot make these scripts "more exeutable".
As I believe I told you, the few times we have had this reported, it has
been caused by ether a poorly chosen umask during tar file extraction,
or filesystem policy against executables. Both these problems are with
your setup, not with GMP.
You need to debug this locally, if needed with some local help.
-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Configuration on IceLake

2021-10-13 Thread Torbjörn Granlund
Arturo Fernandez  writes:

  Hello. I was finally able to get back and work on this
  configuration. Yesterday evening I downloaded the latest version
  (gmp-6.2.99-20211010014524) but it is still unable to recognize
  IceLake. The command configure is returning:
  Version: GNU MP 6.2.99
  Host type: nehalem-pc-linux-gnu
  ABI: 64
  Install prefix: /usr
  Compiler: gcc
  Static libraries: yes
  Shared libraries: yes

It is hard to provide support when the context is lost due do months
long delays.

I am sorry you keep seeing problems with executing exeutable GMP scripts
on several systems.  It is an unusual problem, and not something we can
fix on the GMP side.  We cannot make these scripts "more exeutable".

As I believe I told you, the few times we have had this reported, it has
been caused by ether a poorly chosen umask during tar file extraction,
or filesystem policy against executables.  Both these problems are with
your setup, not with GMP.

You need to debug this locally, if needed with some local help.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Configuration on IceLake

2021-10-11 Thread Arturo Fernandez
Hello. I was finally able to get back and work on this configuration. Yesterday 
evening I downloaded the latest version (gmp-6.2.99-20211010014524) but it is 
still unable to recognize IceLake. The command configure is returning:
Version: GNU MP 6.2.99
Host type: nehalem-pc-linux-gnu
ABI: 64
Install prefix: /usr
Compiler: gcc
Static libraries: yes
Shared libraries: yes
Thanks. Arturo

Arturo Fernandez wrote:
Maybe you're right, but I tried on Azure (running on Rocky Linux) and AWS 
(running on CentOS8) and got the same problem. I will try some other version as 
time permits and check what happens. Thanks. 
Torbjörn Granlund wrote:
Arturo Fernandez mailto:afernan...@odyhpc.com> 
 > > writes:
Sorry for the late reply as things have been piling up. I have tried
gmp-6.2.99-20210902195716 in different systems but it fails while
building it. Here is an error:
../libtool: line 1766: ../mpn/m4-ccas: Permission denied
That error you need to debug locally.
The file m4-ccas in the snapshot has the execution bit set. Prosumably
you have some strange umask value set, or a filesystem which does not
allow executables.
-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org  
https://gmplib.org/mailman/listinfo/gmp-bugs 
 
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Configuration on IceLake

2021-09-10 Thread Arturo Fernandez
Maybe you're right, but I tried on Azure (running on Rocky Linux) and AWS 
(running on CentOS8) and got the same problem. I will try some other version as 
time permits and check what happens. Thanks. 
Torbjörn Granlund wrote:
Arturo Fernandez mailto:afernan...@odyhpc.com> > writes:
Sorry for the late reply as things have been piling up. I have tried
gmp-6.2.99-20210902195716 in different systems but it fails while
building it. Here is an error:
../libtool: line 1766: ../mpn/m4-ccas: Permission denied
That error you need to debug locally.
The file m4-ccas in the snapshot has the execution bit set. Prosumably
you have some strange umask value set, or a filesystem which does not
allow executables.
-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Configuration on IceLake

2021-09-09 Thread Torbjörn Granlund
Arturo Fernandez  writes:

  Sorry for the late reply as things have been piling up. I have tried
  gmp-6.2.99-20210902195716 in different systems but it fails while
  building it. Here is an error:
  ../libtool: line 1766: ../mpn/m4-ccas: Permission denied

That error you need to debug locally.

The file m4-ccas in the snapshot has the execution bit set.  Prosumably
you have some strange umask value set, or a filesystem which does not
allow executables.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Configuration on IceLake

2021-09-09 Thread Arturo Fernandez
Sorry for the late reply as things have been piling up. I have tried 
gmp-6.2.99-20210902195716 in different systems but it fails while building 
it. Here is an error:

../libtool: line 1766: ../mpn/m4-ccas: Permission denied
make[2]: *** [Makefile:768: add_n.lo] Error 1
make[2]: Leaving directory '/home/centos/gmp-6.2.99-20210902195716/mpn'
make[1]: *** [Makefile:997: all-recursive] Error 1
make[1]: Leaving directory '/home/centos/gmp-6.2.99-20210902195716'
make: *** [Makefile:787: all] Error 2
Arturo Fernandez wrote:
Hello,
Trying to configure GMP v6.2.1 in an IceLake system (running CentOS8) is 
returning:

Version: GNU MP 6.2.1
Host type: nehalem-pc-linux-gnu
ABI: 64
Install prefix: /usr
Compiler: gcc
Static libraries: yes
Shared libraries: yes
I wasn't expecting Nehalem so my guess is that it doesn't recognize IceLake 
and is assigning some default value.

Thanks.
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Configuration on IceLake

2021-09-06 Thread Torbjörn Granlund
Arturo Fernandez  writes:

  I wasn't expecting Nehalem so my guess is that it doesn't recognize
  IceLake and is assigning some default value.

We let all unknown "model" numbers mean nehalem.  This is so that both
unknown low-end cores and unknown high-end cores will at least work.

There have been plans to refine this by checking various features (such
as AVX) and from the result match the closest known microarch.  E.g. if
a "model" number appears which has all the features of, say, skylake,
assume skylake.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Configuration on IceLake

2021-09-06 Thread Arturo Fernandez

Hello,
Trying to configure GMP v6.2.1 in an IceLake system (running CentOS8) is 
returning:

Version: GNU MP 6.2.1
Host type: nehalem-pc-linux-gnu
ABI: 64
Install prefix: /usr
Compiler: gcc
Static libraries: yes
Shared libraries: yes
I wasn't expecting Nehalem so my guess is that it doesn't recognize IceLake 
and is assigning some default value.

Thanks.
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs