From jules_gosnell at yahoo.com Sat Feb 14 12:53:38 2015 From: jules_gosnell at yahoo.com (Jules Gosnell) Date: Sat, 14 Feb 2015 12:53:38 +0000 Subject: sumatra/graal build instructions Message-ID: <54DF4552.8060201@yahoo.com> over xmas I rebuilt my ci server and hsa box on fedora 21, I upgraded to kfd-1.0 and took some time out - so I'm not sure whether I have a os / kfd or bit-rot issue... I've had a problem building sumatra, which I fixed last night by rolling back to gnu make 3.81. I'm now having a problem with the graal build. my build script, which produced a vm which understood all the graal cli flags before xmas, now produces a vm which does not seem to know anything about graal... I'm following the instructions at: https://wiki.openjdk.java.net/display/Sumatra/Sumatra+JDK+build+instructions I note that the unit test 'hsail.test.IntAddTest' no longer seems to exist, so the instructions seem to be outdated. Is there anything else that I am missing for building a working sumatra/graal stack ? many thanks, Jules From jules_gosnell at yahoo.com Sat Feb 14 18:08:27 2015 From: jules_gosnell at yahoo.com (Jules Gosnell) Date: Sat, 14 Feb 2015 18:08:27 +0000 Subject: sumatra/graal build instructions In-Reply-To: <54DF4552.8060201@yahoo.com> References: <54DF4552.8060201@yahoo.com> Message-ID: <54DF8F1B.6070902@yahoo.com> BTW - if you need more detail: here is the jdk8 build log : http://ouroboros.dyndns-free.com/ci/view/clumatra/job/sumatra/314/console I then take that jdk8 and build a graal enabled jdk8: http://ouroboros.dyndns-free.com/ci/view/clumatra/job/graal/439/console Then I use this to build/run my project clumatra: http://ouroboros.dyndns-free.com/ci/view/clumatra/job/clumatra-hardware-acceleration/615/console this last build fails because the graal jvm fails to start saying: Unrecognized VM option 'UseHSAILDeoptimization' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. I've tried removing this option and just die on the next graal-specific option - I have to remove all of them to start the jvm and then it is not much use to me: -Xms1g -Xmx8g -server -XX:-UseHSAILDeoptimization -XX:-UseHSAILSafepoints -G:Log=CodeGen -XX:+GPUOffload -XX:+TraceGPUInteraction -XX:-UseGraalClassLoader I'm hoping that there was some change that went in recently whereby I have to build or run with some new flag about which I don't know ? any help would be much appreciated. Jules P.S. if you want to look over the build scripts they are here : https://github.com/JulesGosnell/clumatra/tree/master/bin On 14/02/15 12:53, Jules Gosnell wrote: > > over xmas I rebuilt my ci server and hsa box on fedora 21, I upgraded to > kfd-1.0 and took some time out - so I'm not sure whether I have a os / > kfd or bit-rot issue... > > I've had a problem building sumatra, which I fixed last night by rolling > back to gnu make 3.81. > > I'm now having a problem with the graal build. > > my build script, which produced a vm which understood all the graal cli > flags before xmas, now produces a vm which does not seem to know > anything about graal... > > I'm following the instructions at: > > https://wiki.openjdk.java.net/display/Sumatra/Sumatra+JDK+build+instructions > > > I note that the unit test 'hsail.test.IntAddTest' no longer seems to > exist, so the instructions seem to be outdated. Is there anything else > that I am missing for building a working sumatra/graal stack ? > > many thanks, > > > Jules > From doychin at dsoft-bg.com Sun Feb 15 09:06:45 2015 From: doychin at dsoft-bg.com (Doychin Bondzhev) Date: Sun, 15 Feb 2015 11:06:45 +0200 Subject: sumatra/graal build instructions In-Reply-To: <54DF8F1B.6070902@yahoo.com> References: <54DF4552.8060201@yahoo.com> <54DF8F1B.6070902@yahoo.com> Message-ID: <54E061A5.2050506@dsoft-bg.com> Hi, Few weeks back there was a change set that removed all HSAIL and PTX specific code from graal. I don't know what that means but I suspect that graal won't support GPU code for now. This also leaves sumatra future unknown for the moment unles someone with more knowledge provides us with more information. Have a nice day, On 14.2.2015 ?. 20:08 ?., Jules Gosnell wrote: > BTW - if you need more detail: > > here is the jdk8 build log : > > http://ouroboros.dyndns-free.com/ci/view/clumatra/job/sumatra/314/console > > I then take that jdk8 and build a graal enabled jdk8: > > http://ouroboros.dyndns-free.com/ci/view/clumatra/job/graal/439/console > > Then I use this to build/run my project clumatra: > > http://ouroboros.dyndns-free.com/ci/view/clumatra/job/clumatra-hardware-acceleration/615/console > > > this last build fails because the graal jvm fails to start saying: > > > Unrecognized VM option 'UseHSAILDeoptimization' > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > > I've tried removing this option and just die on the next graal-specific > option - I have to remove all of them to start the jvm and then it is > not much use to me: > > -Xms1g -Xmx8g -server -XX:-UseHSAILDeoptimization > -XX:-UseHSAILSafepoints -G:Log=CodeGen -XX:+GPUOffload > -XX:+TraceGPUInteraction -XX:-UseGraalClassLoader > > I'm hoping that there was some change that went in recently whereby I > have to build or run with some new flag about which I don't know ? > > any help would be much appreciated. > > > Jules > > P.S. > > if you want to look over the build scripts they are here : > > https://github.com/JulesGosnell/clumatra/tree/master/bin > > > On 14/02/15 12:53, Jules Gosnell wrote: >> >> over xmas I rebuilt my ci server and hsa box on fedora 21, I upgraded to >> kfd-1.0 and took some time out - so I'm not sure whether I have a os / >> kfd or bit-rot issue... >> >> I've had a problem building sumatra, which I fixed last night by rolling >> back to gnu make 3.81. >> >> I'm now having a problem with the graal build. >> >> my build script, which produced a vm which understood all the graal cli >> flags before xmas, now produces a vm which does not seem to know >> anything about graal... >> >> I'm following the instructions at: >> >> https://wiki.openjdk.java.net/display/Sumatra/Sumatra+JDK+build+instructions >> >> >> >> I note that the unit test 'hsail.test.IntAddTest' no longer seems to >> exist, so the instructions seem to be outdated. Is there anything else >> that I am missing for building a working sumatra/graal stack ? >> >> many thanks, >> >> >> Jules >> > > -- Doychin Bondzhev dSoft-Bulgaria Ltd. PowerPro - billing & provisioning solution for Service providers PowerStor - Warehouse & POS http://www.dsoft-bg.com/ Mobile: +359888243116 From jules_gosnell at yahoo.com Sun Feb 15 21:29:53 2015 From: jules_gosnell at yahoo.com (Jules Gosnell) Date: Sun, 15 Feb 2015 21:29:53 +0000 Subject: sumatra/graal build instructions In-Reply-To: <54E061A5.2050506@dsoft-bg.com> References: <54DF4552.8060201@yahoo.com> <54DF8F1B.6070902@yahoo.com> <54E061A5.2050506@dsoft-bg.com> Message-ID: <54E10FD1.40608@yahoo.com> Thanks for the heads up, Doychin, interesting - I didn't notice any postings on either sumatra or graal-dev regarding this... perhaps someone in the know would care to comment and clarify the situation. specifically, I would like to know how this impacts the delivery of an HSA-enabled JVM and whether the HSA backend is continuing development elsewhere. many thanks, Jules On 15/02/15 09:06, Doychin Bondzhev wrote: > Hi, > > Few weeks back there was a change set that removed all HSAIL and PTX > specific code from graal. I don't know what that means but I suspect > that graal won't support GPU code for now. > > This also leaves sumatra future unknown for the moment unles someone > with more knowledge provides us with more information. > > Have a nice day, > On 14.2.2015 ?. 20:08 ?., Jules Gosnell wrote: >> BTW - if you need more detail: >> >> here is the jdk8 build log : >> >> http://ouroboros.dyndns-free.com/ci/view/clumatra/job/sumatra/314/console >> >> I then take that jdk8 and build a graal enabled jdk8: >> >> http://ouroboros.dyndns-free.com/ci/view/clumatra/job/graal/439/console >> >> Then I use this to build/run my project clumatra: >> >> http://ouroboros.dyndns-free.com/ci/view/clumatra/job/clumatra-hardware-acceleration/615/console >> >> >> >> this last build fails because the graal jvm fails to start saying: >> >> >> Unrecognized VM option 'UseHSAILDeoptimization' >> Error: Could not create the Java Virtual Machine. >> Error: A fatal exception has occurred. Program will exit. >> >> I've tried removing this option and just die on the next graal-specific >> option - I have to remove all of them to start the jvm and then it is >> not much use to me: >> >> -Xms1g -Xmx8g -server -XX:-UseHSAILDeoptimization >> -XX:-UseHSAILSafepoints -G:Log=CodeGen -XX:+GPUOffload >> -XX:+TraceGPUInteraction -XX:-UseGraalClassLoader >> >> I'm hoping that there was some change that went in recently whereby I >> have to build or run with some new flag about which I don't know ? >> >> any help would be much appreciated. >> >> >> Jules >> >> P.S. >> >> if you want to look over the build scripts they are here : >> >> https://github.com/JulesGosnell/clumatra/tree/master/bin >> >> >> On 14/02/15 12:53, Jules Gosnell wrote: >>> >>> over xmas I rebuilt my ci server and hsa box on fedora 21, I upgraded to >>> kfd-1.0 and took some time out - so I'm not sure whether I have a os / >>> kfd or bit-rot issue... >>> >>> I've had a problem building sumatra, which I fixed last night by rolling >>> back to gnu make 3.81. >>> >>> I'm now having a problem with the graal build. >>> >>> my build script, which produced a vm which understood all the graal cli >>> flags before xmas, now produces a vm which does not seem to know >>> anything about graal... >>> >>> I'm following the instructions at: >>> >>> https://wiki.openjdk.java.net/display/Sumatra/Sumatra+JDK+build+instructions >>> >>> >>> >>> >>> I note that the unit test 'hsail.test.IntAddTest' no longer seems to >>> exist, so the instructions seem to be outdated. Is there anything else >>> that I am missing for building a working sumatra/graal stack ? >>> >>> many thanks, >>> >>> >>> Jules >>> >> >> > > From thomas.wuerthinger at oracle.com Sun Feb 15 23:26:10 2015 From: thomas.wuerthinger at oracle.com (Thomas Wuerthinger) Date: Mon, 16 Feb 2015 00:26:10 +0100 Subject: sumatra/graal build instructions In-Reply-To: <54E10FD1.40608@yahoo.com> References: <54DF4552.8060201@yahoo.com> <54DF8F1B.6070902@yahoo.com> <54E061A5.2050506@dsoft-bg.com> <54E10FD1.40608@yahoo.com> Message-ID: <335383AB-D6D5-4C65-B624-9811E6F1E13B@oracle.com> Jules, We cannot speak for Project Sumatra or AMD. Project Graal decided to temporarily remove the compiler's GPU support, because the original contributors indicated to no longer maintain the code. We are still investigating outside the main branch a new version of compilation support for heterogenous architectures for Graal. If you want to compile and run a Graal version with GPU support in the meantime, use this revision: http://hg.openjdk.java.net/graal/graal/rev/91fee1fab96d . Regards, thomas > On 15 Feb 2015, at 22:29, Jules Gosnell wrote: > > Thanks for the heads up, Doychin, > > interesting - I didn't notice any postings on either sumatra or graal-dev regarding this... > > perhaps someone in the know would care to comment and clarify the situation. > > specifically, I would like to know how this impacts the delivery of an HSA-enabled JVM and whether the HSA backend is continuing development elsewhere. > > many thanks, > > > Jules > > > > > On 15/02/15 09:06, Doychin Bondzhev wrote: >> Hi, >> >> Few weeks back there was a change set that removed all HSAIL and PTX >> specific code from graal. I don't know what that means but I suspect >> that graal won't support GPU code for now. >> >> This also leaves sumatra future unknown for the moment unles someone >> with more knowledge provides us with more information. >> >> Have a nice day, >> On 14.2.2015 ?. 20:08 ?., Jules Gosnell wrote: >>> BTW - if you need more detail: >>> >>> here is the jdk8 build log : >>> >>> http://ouroboros.dyndns-free.com/ci/view/clumatra/job/sumatra/314/console >>> >>> I then take that jdk8 and build a graal enabled jdk8: >>> >>> http://ouroboros.dyndns-free.com/ci/view/clumatra/job/graal/439/console >>> >>> Then I use this to build/run my project clumatra: >>> >>> http://ouroboros.dyndns-free.com/ci/view/clumatra/job/clumatra-hardware-acceleration/615/console >>> >>> >>> >>> this last build fails because the graal jvm fails to start saying: >>> >>> >>> Unrecognized VM option 'UseHSAILDeoptimization' >>> Error: Could not create the Java Virtual Machine. >>> Error: A fatal exception has occurred. Program will exit. >>> >>> I've tried removing this option and just die on the next graal-specific >>> option - I have to remove all of them to start the jvm and then it is >>> not much use to me: >>> >>> -Xms1g -Xmx8g -server -XX:-UseHSAILDeoptimization >>> -XX:-UseHSAILSafepoints -G:Log=CodeGen -XX:+GPUOffload >>> -XX:+TraceGPUInteraction -XX:-UseGraalClassLoader >>> >>> I'm hoping that there was some change that went in recently whereby I >>> have to build or run with some new flag about which I don't know ? >>> >>> any help would be much appreciated. >>> >>> >>> Jules >>> >>> P.S. >>> >>> if you want to look over the build scripts they are here : >>> >>> https://github.com/JulesGosnell/clumatra/tree/master/bin >>> >>> >>> On 14/02/15 12:53, Jules Gosnell wrote: >>>> >>>> over xmas I rebuilt my ci server and hsa box on fedora 21, I upgraded to >>>> kfd-1.0 and took some time out - so I'm not sure whether I have a os / >>>> kfd or bit-rot issue... >>>> >>>> I've had a problem building sumatra, which I fixed last night by rolling >>>> back to gnu make 3.81. >>>> >>>> I'm now having a problem with the graal build. >>>> >>>> my build script, which produced a vm which understood all the graal cli >>>> flags before xmas, now produces a vm which does not seem to know >>>> anything about graal... >>>> >>>> I'm following the instructions at: >>>> >>>> https://wiki.openjdk.java.net/display/Sumatra/Sumatra+JDK+build+instructions >>>> >>>> >>>> >>>> >>>> I note that the unit test 'hsail.test.IntAddTest' no longer seems to >>>> exist, so the instructions seem to be outdated. Is there anything else >>>> that I am missing for building a working sumatra/graal stack ? >>>> >>>> many thanks, >>>> >>>> >>>> Jules >>>> >>> >>> >> >> >