Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2010-01-07 08:14:56

laurent
Member
Registered: 2007-11-22
Posts: 230

Open64 compiler?

Hi

I would like to do if:

1) somebody has experience building Aster and its tools with Open64?


2) it could be possible to integrate it in the compilation process and by able to choose it instead of GNU and INTEL?
which Python file should i read to get a few insights?

Best regards
Laurent

Offline

#2 2010-01-10 15:48:22

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,170

Re: Open64 compiler?

Hi,

1. never try.
Do you know something about its performance ?
What benefit vs GNU Compiler ?

2. check_compilers.py is checking command lines and options of compilers.
The best thing to do is to compile all the suite with GNU Compilers and then adjust config.txt to compile Code_Aster with Open64 (if I have time...).
Then (and after a comparison about execution time) we could make check_compilers.py to learn about Open64 !


MC


Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline

#3 2010-01-10 17:08:17

cacciatorino
Member
From: Porto Recanati, Italy
Registered: 2008-11-05
Posts: 737

Re: Open64 compiler?

It seems that two projects named "open64" exist:

1) http://www.open64.net/

2) http://developer.amd.com/cpu/open64/pag … .aspx#zero

The second one is a compiler made by AMD, so it could be interesting to try it for AMD cpus.

Offline

#4 2010-01-11 21:46:50

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,170

Re: Open64 compiler?

Hello,

I try to recompile a version using open64 compiler starting from a GNU version and just by replacing g77/gfortran/gcc by openf90/openf90/opencc in the config.txt file.

I made several tries (perhaps I made mistakes) but :
- compilation failed using default optimization level -O (== -O3) (perhaps also cause by -openmp flag I removed later)
- compilation of real fortan90 routines (from bibf90) is *very* long (perhaps solved by adding -fixedform flag)
- compilation + link succeed in debug mode
- compilation time seems long with optimization -02 (1700 secs cpu vs 528 s cpu using -g)
- compilation failed on 3 routines in bibfor/algorith : xmmaa1.f, tiinit.f, exphgl.f. Message is : "openf90 Internal Error: Signal Segmentation fault in phase CGLOOP "
- I found a bug in brag01.f (I0 must be declared as INTEGER) !

Versions : Code_Aster 10.1.5, Open64 compilers 4.2.1

MC


Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline

#5 2010-01-11 23:19:39

laurent
Member
Registered: 2007-11-22
Posts: 230

Re: Open64 compiler?

Hi

Regarding Open 64

1) open64.net and the AMD open64 compiler are the same thing

2) I tried twice and got the same kind of errors experienced by Mathieu Courtois
The only thing is i'm not skilled enough and haven't spend enough time figuring out why it didn't work
That's why i asked the forum

3) I began to be interested in it since i had various troubles with Intel compiler on a machine i was not administrator and/or Intel license was expired.
Since those machines had AMD cpus and i was already considering AMD ACML, why not trying Open64 ?
Ultimately, that could offer more choices


Regards
Laurent

Offline

#6 2010-01-12 18:03:11

mev
Member
Registered: 2010-01-11
Posts: 1

Re: Open64 compiler?

laurent wrote:

1) open64.net and the AMD open64 compiler are the same thing

Just a quick comment.  Open64.net and the AMD x86 Open64 Compiler Suite do derive from the same sources.  However, packages on Open64.net and developer.amd.com differ in age of when they were released.

The last packaged release on Open64.net is 4.2.1 which was released on November 2008.

The last packaged release on developer.amd.com is 4.2.3 which was released December 2009.  There have been quite a number of both correctness fixes and performance improvements made in the AMD package that aren't in the last Open64.net package.  AMD has merged source changes from December 2009 release back into the Open64.net SVN tree so they will be included in the next Open64.net release - but they aren't in 4.2.1.

So, my suggestion would be to either build the Open64.net compiler from source or try the 4.2.3 x86 Open64 compiler package from developer.amd.com.  I don't know if this will resolve issues seen above, but if you still have difficulties with the AMD package, you can also post to the developer.amd.com x86 Open64 Compiler Suite forum.

Offline

#7 2010-01-12 21:28:16

rasale
Member
Registered: 2010-01-12
Posts: 2

Re: Open64 compiler?

Hi,
>>
1)    open64.net and the AMD open64 compiler are the same thing
>>
It would be better to use the AMD open64  which is the latest version for x86, than the one for download at Open64.net, at this point. Once again, for convenience, the link to get AMD open64, is 
        http://developer.amd.com/cpu/open64/pages/default.aspx

Posting queries on Open64 at AMD open64 forum will help you, get more prompt responses.  I have cross posted this issue on the AMD Open64 forums, to get you appropriate help. Please check
        http://forums.amd.com/devforum/categories.cfm?catid=373

Thanks
Anupama

-------------------------
The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied.

Offline

#8 2010-01-12 22:52:54

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,170

Re: Open64 compiler?

Thanks for your post !

I just downloaded the 4.2.3 release from AMD and compilation is running !

I will post my result using open64 4.2.3 on developer.amd.com .... when I will be able to post on the forum : when I click on "login" it says that I'm currently logged in, but no reply/post links.

Remark : modification in check_compilers.py are not important to use/test open64 suite. It would be just easier to choose and compilers.

MC


Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline

#9 2010-01-13 08:41:45

rasale
Member
Registered: 2010-01-12
Posts: 2

Re: Open64 compiler?

Hi,

>>>
I will post my result using open64 4.2.3 on developer.amd.com .... when I will be able to post on the forum : when I click on "login" it says that I'm currently logged in, but no reply/post links.
>>>

Not sure you have followed below steps:

1.Go to http://forums.amd.com/devforum/

2.a. If you have not registered, click on 'Register"(at the top most right)
    Enter the details requested. And press "Register".

2.b. If you have already registered, click on "Login" (at the top most right)
    Enter username and password and press "Log In"

3. You will be back on the same page before you pressed "Log In"/”Register”. In our case,
    http://forums.amd.com/devforum/

4. Go down and click on "x86 Open64 Compiler Suite ".

5. On this page, click on “Building code-aster and its tools with Open64”.

6. Go down the page. At the bottom right of each response you will find Reply : Quote : Top : Bottom : Edit.

7. Click on Reply and a new window opens up. After typing in your message, press “Reply to topic”.

Hope this helps.

Thanks
Anupama

Offline

#10 2010-01-13 09:31:00

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,170

Re: Open64 compiler?

Actually my registration has not been completed yesterday : the server didn't responding, I could not log out...
It works this morning (after reset my password).

The compilation is ended but with errors. I will post on amd forum.

MC


Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline

#11 2010-03-18 18:04:13

jcugnoni
Member
Registered: 2007-12-05
Posts: 64

Re: Open64 compiler?

Hi,
I have been following this thread with interest.

Did you find a solution to compile Aster with Open64 compiler?

Offline

#12 2010-03-18 21:15:29

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,170

Re: Open64 compiler?

Hi Joel,

Yes, the compilation succeed using -O3 optimization flag...
I didn't run all the testcases but, for example, all my attempts to run MULT_FRONT on several threads failed.

I should re-compile using -O2 flag (same as -O) on the most part of the code and another level on the routines on which open64 fails and re-run the testcases...

I attach my config.txt as an example.

MC


Attachments:
config.txt, Size: 5.84 KiB, Downloads: 843

Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline

#13 2010-03-23 11:04:32

jcugnoni
Member
Registered: 2007-12-05
Posts: 64

Re: Open64 compiler?

Thanks Mathieu,

I will try it if i can find some time ;-)

Offline

#14 2010-10-26 15:07:17

petrovlucca
Member
Registered: 2010-10-26
Posts: 4

Re: Open64 compiler?

The x86 Open64 compiler system offers a high level of advanced optimizations, multi-threading, and processor support that includes global optimization, vectorization, interprocedural analysis, feedback directed optimizations, loop transformations, and code generation which extracts the optimal performance from each x86 processor core.

Offline

#15 2011-01-14 16:22:57

rprom
Member
Registered: 2008-04-13
Posts: 37

Re: Open64 compiler?

I am working with 3 different compiled versions of CODE_ASTER 10.3 :
====================================================
   1 ... original gfortran
   2 ... gfortran high optimised with amd libs
   3 ... amd compiler with amd libs  (preferred version)
====================================================
The only problem witch arises is with the subroutine  ...../STA10.3/bibfor/algeline/dcabs2.f
I chanced it to:
--------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------
      FUNCTION DCABS2(C)
      IMPLICIT REAL*8 (A-H,O-Z)
C            CONFIGURATION MANAGEMENT OF EDF VERSION
C MODIF ALGELINE  DATE 16/12/2004   AUTEUR VABHHTS J.PELLET
C ======================================================================
C COPYRIGHT (C) 1991 - 2004  EDF R&D                  WWW.CODE-ASTER.ORG
C .........................
C .........................
C .........................
C-----------------------------------------------------------------------
C CALCUL DU MODULE D'UN NOMBRE COMPLEXE
C-----------------------------------------------------------------------
C  IN : C : NOMBRE COMPLEXE DONT ON VEUT CALCULER LE MODULE
C-----------------------------------------------------------------------
      REAL*8     DCABS2
      COMPLEX*16 C
ccc--- transformed from Promper
C     COMPLEX*16 CBAR,CCBAR
      COMPLEX*16 CBAR
      REAL*8     CCBAR
C-----------------------------------------------------------------------
ccc   CBAR = DCONJG(C)
ccc   CCBAR = C*CBAR
C     DCABS2 = DBLE(DSQRT(DBLE(CCBAR)))
ccc--- this is the new version for gfortran (not necessary)
c      and openf90 (amd, necessary)                                 ----
      DCABS2 = CDABS(C)
--------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------
I did not imagine the reason of the failure with the compilation.
But the standard fortran function CDABS() is working !!!
With some examples of mine till now some problems with the compiled version 3 were found, but all could solved simply.

Last edited by rprom (2011-01-14 16:24:50)

Offline

#16 2011-10-03 17:39:28

Laura676
Member
Registered: 2011-10-03
Posts: 1

Re: Open64 compiler?

rasale wrote:

Hi, crate training puppies puppy aggression puppy whining puppy growling weaning puppies puppy chewing puppy separation anxiety puppy crying how to leash train a puppy why do dogs eat grass
>> why do dogs eat poop puppy toilet training
1)    open64.net and the AMD open64 compiler are the same thing how to train a puppy puppy training tips puppy barking puppy biting house training a puppy puppy feeding schedule
>>
It would be better to use the AMD open64  which is the latest version for x86, than the one for download at Open64.net, at this point. Once again, for convenience, the link to get AMD open64, is  marijuana seeds for sale buy weed seeds buy cannabis seeds online cannabis seeds for sale buy pot seeds northern lights weed
        http://developer.amd.com/cpu/open64/pages/default.aspx

Posting queries on Open64 at AMD open64 forum will help you, get more prompt responses.  I have cross posted this issue on the AMD Open64 forums, to get you appropriate help. Please check
        http://forums.amd.com/devforum/categories.cfm?catid=373

Thanks a b c d e f g h i j k l m n o p q r
Anupama

-------------------------
The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied.

Thanks, this helped me a lot smile

Offline