Use older version of GCC for application that requires it

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
The PGI C and C++ 17.10 community edition compiler does not work with Ubuntu 17.10 (at least not for code that uses OpenMP or OpenACC which is the whole point of PGI).
According to their forum
According to the PGI 17.10 release notes, under "Supported Platforms", note that Ubuntu 16.10 is the newest Ubuntu we support, and gcc 6.3 is the newest gcc.
We will probably get 7.2 working with 18.1, and so the Community Edition will support it in 18.4.
So wait for 2 to 6 months, or install a Linux version we support.
I don't want to wait if I don't have to. How can I get PGI 17.10 (community edition) working with Ubuntu 17.10?
My guess is I could use something like chroot or Docker for this but I have never used either.
When I compile I get the error
/usr/include/x86_64-linux-gnu/bits/floatn.h", line 62: error: invalid argument
to attribute "mode"
typedef _Complex float cfloat128 __attribute ((mode (TC)));
So the problem I think is not just library files but also includes.
compiling gcc docker chroot
add a comment |Â
up vote
0
down vote
favorite
The PGI C and C++ 17.10 community edition compiler does not work with Ubuntu 17.10 (at least not for code that uses OpenMP or OpenACC which is the whole point of PGI).
According to their forum
According to the PGI 17.10 release notes, under "Supported Platforms", note that Ubuntu 16.10 is the newest Ubuntu we support, and gcc 6.3 is the newest gcc.
We will probably get 7.2 working with 18.1, and so the Community Edition will support it in 18.4.
So wait for 2 to 6 months, or install a Linux version we support.
I don't want to wait if I don't have to. How can I get PGI 17.10 (community edition) working with Ubuntu 17.10?
My guess is I could use something like chroot or Docker for this but I have never used either.
When I compile I get the error
/usr/include/x86_64-linux-gnu/bits/floatn.h", line 62: error: invalid argument
to attribute "mode"
typedef _Complex float cfloat128 __attribute ((mode (TC)));
So the problem I think is not just library files but also includes.
compiling gcc docker chroot
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The PGI C and C++ 17.10 community edition compiler does not work with Ubuntu 17.10 (at least not for code that uses OpenMP or OpenACC which is the whole point of PGI).
According to their forum
According to the PGI 17.10 release notes, under "Supported Platforms", note that Ubuntu 16.10 is the newest Ubuntu we support, and gcc 6.3 is the newest gcc.
We will probably get 7.2 working with 18.1, and so the Community Edition will support it in 18.4.
So wait for 2 to 6 months, or install a Linux version we support.
I don't want to wait if I don't have to. How can I get PGI 17.10 (community edition) working with Ubuntu 17.10?
My guess is I could use something like chroot or Docker for this but I have never used either.
When I compile I get the error
/usr/include/x86_64-linux-gnu/bits/floatn.h", line 62: error: invalid argument
to attribute "mode"
typedef _Complex float cfloat128 __attribute ((mode (TC)));
So the problem I think is not just library files but also includes.
compiling gcc docker chroot
The PGI C and C++ 17.10 community edition compiler does not work with Ubuntu 17.10 (at least not for code that uses OpenMP or OpenACC which is the whole point of PGI).
According to their forum
According to the PGI 17.10 release notes, under "Supported Platforms", note that Ubuntu 16.10 is the newest Ubuntu we support, and gcc 6.3 is the newest gcc.
We will probably get 7.2 working with 18.1, and so the Community Edition will support it in 18.4.
So wait for 2 to 6 months, or install a Linux version we support.
I don't want to wait if I don't have to. How can I get PGI 17.10 (community edition) working with Ubuntu 17.10?
My guess is I could use something like chroot or Docker for this but I have never used either.
When I compile I get the error
/usr/include/x86_64-linux-gnu/bits/floatn.h", line 62: error: invalid argument
to attribute "mode"
typedef _Complex float cfloat128 __attribute ((mode (TC)));
So the problem I think is not just library files but also includes.
compiling gcc docker chroot
compiling gcc docker chroot
asked Mar 15 at 14:48
Z boson
292210
292210
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
You can't get it running in 17.10 .. thats what the releasenote says.
Downgrade to 16.10 or another supported version, or run 16.10 in a Virtual machine.
I'm not sure a VM will work because of the GPU offloading. I could compile in the VM and then copy the binaries over but it might rely on some libraries. The release notes don't say you can't get it working in 17.10. It says it's not supported. I'm not convinced you can't get it working. What about chroot or Docker?
â Z boson
Mar 15 at 15:14
A VM works fine. It turns out the PGI does yet supportomp targetoffloading anyway . If It stick to OpenACC instead of OpenMP then I don't need to use a VM anyway.
â Z boson
Apr 9 at 15:18
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
You can't get it running in 17.10 .. thats what the releasenote says.
Downgrade to 16.10 or another supported version, or run 16.10 in a Virtual machine.
I'm not sure a VM will work because of the GPU offloading. I could compile in the VM and then copy the binaries over but it might rely on some libraries. The release notes don't say you can't get it working in 17.10. It says it's not supported. I'm not convinced you can't get it working. What about chroot or Docker?
â Z boson
Mar 15 at 15:14
A VM works fine. It turns out the PGI does yet supportomp targetoffloading anyway . If It stick to OpenACC instead of OpenMP then I don't need to use a VM anyway.
â Z boson
Apr 9 at 15:18
add a comment |Â
up vote
1
down vote
accepted
You can't get it running in 17.10 .. thats what the releasenote says.
Downgrade to 16.10 or another supported version, or run 16.10 in a Virtual machine.
I'm not sure a VM will work because of the GPU offloading. I could compile in the VM and then copy the binaries over but it might rely on some libraries. The release notes don't say you can't get it working in 17.10. It says it's not supported. I'm not convinced you can't get it working. What about chroot or Docker?
â Z boson
Mar 15 at 15:14
A VM works fine. It turns out the PGI does yet supportomp targetoffloading anyway . If It stick to OpenACC instead of OpenMP then I don't need to use a VM anyway.
â Z boson
Apr 9 at 15:18
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
You can't get it running in 17.10 .. thats what the releasenote says.
Downgrade to 16.10 or another supported version, or run 16.10 in a Virtual machine.
You can't get it running in 17.10 .. thats what the releasenote says.
Downgrade to 16.10 or another supported version, or run 16.10 in a Virtual machine.
answered Mar 15 at 15:00
Soren A
3,0371722
3,0371722
I'm not sure a VM will work because of the GPU offloading. I could compile in the VM and then copy the binaries over but it might rely on some libraries. The release notes don't say you can't get it working in 17.10. It says it's not supported. I'm not convinced you can't get it working. What about chroot or Docker?
â Z boson
Mar 15 at 15:14
A VM works fine. It turns out the PGI does yet supportomp targetoffloading anyway . If It stick to OpenACC instead of OpenMP then I don't need to use a VM anyway.
â Z boson
Apr 9 at 15:18
add a comment |Â
I'm not sure a VM will work because of the GPU offloading. I could compile in the VM and then copy the binaries over but it might rely on some libraries. The release notes don't say you can't get it working in 17.10. It says it's not supported. I'm not convinced you can't get it working. What about chroot or Docker?
â Z boson
Mar 15 at 15:14
A VM works fine. It turns out the PGI does yet supportomp targetoffloading anyway . If It stick to OpenACC instead of OpenMP then I don't need to use a VM anyway.
â Z boson
Apr 9 at 15:18
I'm not sure a VM will work because of the GPU offloading. I could compile in the VM and then copy the binaries over but it might rely on some libraries. The release notes don't say you can't get it working in 17.10. It says it's not supported. I'm not convinced you can't get it working. What about chroot or Docker?
â Z boson
Mar 15 at 15:14
I'm not sure a VM will work because of the GPU offloading. I could compile in the VM and then copy the binaries over but it might rely on some libraries. The release notes don't say you can't get it working in 17.10. It says it's not supported. I'm not convinced you can't get it working. What about chroot or Docker?
â Z boson
Mar 15 at 15:14
A VM works fine. It turns out the PGI does yet support
omp target offloading anyway . If It stick to OpenACC instead of OpenMP then I don't need to use a VM anyway.â Z boson
Apr 9 at 15:18
A VM works fine. It turns out the PGI does yet support
omp target offloading anyway . If It stick to OpenACC instead of OpenMP then I don't need to use a VM anyway.â Z boson
Apr 9 at 15:18
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1015223%2fuse-older-version-of-gcc-for-application-that-requires-it%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password