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

You are not logged in.

#1 Re: Salome-Meca installation » Salome-Meca 2014.1 download not available yet? » 2014-02-02 15:27:01

Hello Jean Pierre AUBRY,
Thanks for the pointer.  The way it has been done for years is just a little bit mis-leading, but I will try to remember that several months from now! ...
I suggest that the listing for SalomeMeca also be linked like all the other Code-Aster listings on the main section.
Regards, JMB

jeanpierreaubry wrote:

hello
it has been like this for ages
jean pierre aubry

#2 Salome-Meca installation » Salome-Meca 2014.1 download not available yet? » 2014-02-01 12:38:02

JMB365
Replies: 3

Hello,

According to the news announcement Salome-Meca 2014.1 is available for download as shown here:
   http://www.code-aster.org/V2/spip.php?article126

But is it not available at:
   http://www.code-aster.org/V2/spip.php?rubrique21

Somebody forgot to link the web-page?

Regards, JMB

#3 Re: Code_Aster installation » Eficas in English » 2012-10-05 01:42:00

Dr.Faustus wrote:

iìm interested in developing this translation,'ive had a look at some message.po, but i dont understand how i've to use this message.po
In he eficas folder there isn't any message.po to overwite.. Could you tell me some tips about it?

Hello Dr.Faustus,

Sorry I have not been active on the forums for a long time, so I did not see your message until today, but I did read something about i18n in this doc that may be useful in your efforts, if multl-lang support has not already been incorporated into Eficas, which I have not checked lately in newer versions of CodeAster.  Maybe somebody more knowledgeable about this can comment further...

http://www.code-aster.org/V2/doc/defaul … .04.03.pdf

Regards, JMB

#4 Re: Salome-Meca installation » Salome website down? » 2012-02-07 15:56:39

Hello,

Several days have passed and I still get "Site is under maintenance. Please re-try later."  Does anybody have any idea about how much "later" really is expected to be?

Regards, JMB

#5 Salome-Meca installation » Salome website down? » 2012-02-04 14:56:45

JMB365
Replies: 3

Hello,

This is not really related to Salome-Meca, but it seems the website http://www.salome-platform.org is not functional.  Does anybody have any information about it?

Regards, JMB

#6 Code_Aster usage » [SOLVED] Thermal expansion/contraction » 2011-12-16 22:20:27

JMB365
Replies: 4

Hello,

Is it possible to use CA (any version) to calculate residual stresses using HYPER_ELAS material when it is subjected to a temperature change?

Regards, JMB

#7 Re: Code_Aster usage » [SOLVED] "metal forming" contact problem with shell elements » 2011-11-16 14:26:21

pilafa wrote:

- First, the upper mold goes down and deform the plate. Then, it goes up (it returns to it's initial position).
The deformed plate has residual plastic deformation. However, the plate doesn't stay in contact with the lower mold.
Instead, it goes up again (I'm not sure if I'm clear :S ...look at the figure attached in my last post).
I understand that this is due to the soft spring that pull the plate back.
I tried without the soft spring, but when the upper mold starts going up, I have I singular matrix (due to rigid displacements I assume...)

Hello pilafa,

If you remove the springs there is nothing to hold the plate!  You have a rigid body freely floating into space, which with (or even without) the slightest touch is floating away uncontrolled, like a weightless object in outer space.

With the springs incorporated in the model, you will see the plate moving back up, but that is where you have to compromise in using soft enough springs that it does not significantly affect what you are modelling, but is sufficient enough to keep the problem numerically stable.  Another reason for this 'spring back' is commonly seen in stamping due to the linear-nonlinear portions of the stress strain curve of the material coming into play.  Hope this helps.

Regards, JMB

#8 Re: Code_Aster usage » Using OpenMP or MPI with DYNA_LINE_HARM » 2011-11-15 16:07:13

Thomas DE SOZA wrote:

- the other way is to use MUMPS as a solver and increase the number of MPI process used to do the job.TdS

Hello TdS,

That is what I was attempting using SOLVEUR=_F(METHODE='MUMPS',PCENT_PIVOT=10,RENUM='METIS',),; but I was not sure if that was the right way to do it.  It did not reduce the time, but in fact multiplied it in proportion to the number of parallel cores the solver was using (asked to use).  Hence my request for help.  Thanks.

Regards, JMB

#10 Re: Code_Aster installation » Tmp directories specified in asrun » 2011-11-14 20:37:24

Hello courtois, Thank you for the details.  It is clearer now.  Regards, JMB

#11 Salome-Meca installation » Enable CodeSaturne in SalomeMeca2011.2? » 2011-11-13 18:01:57

JMB365
Replies: 2

Hello,

How does one enable CodeSaturne (CFD Study)  in SalomeMeca2011.2?  It is missing from the menu bar.  I am using CAELinux2011.  Thanks.

Regards, JMB

#12 Code_Aster installation » CodeAster syntax highlighting for editor » 2011-11-11 17:48:27

JMB365
Replies: 7

Hello developers,

Is there any text Linux editor that has a template available for highlighting CodeAster keywords in manner similar to the Python highlighting?  Or has somebody developed such a capability?

If not, I would like to configure the gedit text editor to use CodeAster syntax highlighting as shown in the attached image.  To do that I am looking for a COMPLETE list of all the keywords and options used in CodeAster as an ASCII text file with one word per line.  In the past I gathered what I could here: http://www.code-aster.org/wiki/doku.php … p120_terms  But I am looking for an official comprehensive list (of course without the explanation for these keywords).  I believe such a feature in a text editor makes CodeAster command file editing immensely easier on the eyes (& brain)!  Look forward to hearing from any of you.

Regards, JMB

#13 Code_Aster installation » Tmp directories specified in asrun » 2011-11-11 13:53:42

JMB365
Replies: 2

Hello,

I am trying to understand the purpose, function and implications of the various values for specifying temporary directories in the ../etc/codeaster/asrun file; for example:

# Directory shared by all compute nodes and used as a proxy between then
# clients and the server : clients upload data files into this directory and
# download results files from it. For example : /export/tmp/PROXY_DIR...
proxy_dir : /tmp
# root of temporary space for astk services
rep_tmp : /tmp
# Temporary directory for Aster executions
rep_trav : /tmp
# Temporary directory for Aster executions shared by all processors
# (used by mpi executions). For example : /export/tmp, /home/tmp...
shared_tmp : /tmp
# shared folders = for which remote copy is never necessary (comma separated)
shared_folders :

Can somebody explain to me or point me to the right Doc file (if there is one) so I can better understand the what/why/how of these variables, especially in the light of configuring OpenMP / MPI clusters?  What I have read so far as comments in the file do not fully explain the purpose or nuances of changing these values from their default values.  So far I have understood what the function of shared_tmp is from jcugnoni's posting.  I am trying to grasp what the others are.  Thanks.

Regards, JMB

#14 Re: Code_Aster installation » Installing Aster STA10.3 on Caelinux2011 » 2011-11-11 13:36:16

Hello kamil,  Perhaps posting errors or the log files will help us, help you!  Regards, JMB

#15 Re: Code_Aster usage » Using OpenMP or MPI with DYNA_LINE_HARM » 2011-11-11 13:29:23

Thomas DE SOZA wrote:

Hi,What is the size of the system ?TdS

Hello TdS,

By your question I presume you are asking what is
  a) the size of the hardware?  -2 PC cluster (DualCore) OR
  b) the size of the problem (study) I am trying? (unknown at the moment, just testing with small models)
Hope I have understood your question correctly and answered what you were looking for.

Regards, JMB

#16 Code_Aster usage » Using OpenMP or MPI with DYNA_LINE_HARM » 2011-11-11 02:18:16

JMB365
Replies: 6

Hello,
I am looking for a way to speed FRF calculations of a 3D model using something like:

MACRO_MATR_ASSE(MODELE=FEM,
                CHAM_MATER=Mat,
                CHARGE=(Force,BCnd,),
                NUME_DDL=CO('NUM'),
                MATR_ASSE=(_F(MATRICE=CO('MATASSR'),
                              OPTION='RIGI_MECA',),
                           _F(MATRICE=CO('MATASSM'),
                              OPTION='MASS_MECA',),
                           _F(MATRICE=CO('MATDAMP'),
                              OPTION='AMOR_MECA',),),
                INFO=1,);
ForceVec=CALC_VECT_ELEM(OPTION='CHAR_MECA',
                        CHARGE=Force,);
ForceAss=ASSE_VECTEUR(VECT_ELEM=ForceVec,
                      NUME_DDL=NUM,
                      INFO=1,);
ListFreq=DEFI_LIST_REEL(DEBUT=300,
                       INTERVALLE=_F(JUSQU_A=1000,
                                     PAS=10,),
                       INFO=1,);
Sol=DYNA_LINE_HARM(MATR_MASS=MATASSM,
                   MATR_RIGI=MATASSR,
                   MATR_AMOR=MATDAMP,
                   LIST_FREQ=ListFreq,
#                  SOLVEUR=_F(METHODE='MUMPS',PCENT_PIVOT=10,RENUM='METIS',),
                   EXCIT=_F(VECT_ASSE=ForceAss,
                            COEF_MULT=2.0,),);

which on a single core takes quite a long time for a medium sized problem.  How can I speed up the process by taking advantage of multi-cores (OpenMP) or multiple PCs (Open MPI)?  I tried looking for examples in astest/*.comm but did not find any that seemed to help.  Apparently my attempt of using MUMPS is not working correctly when I set mpi_nbcpu>1 and mpi_nbnoeud>1.  Any suggestions or hints would be very much appreciated.  Thank you.

Regards, JMB

#17 Re: Code_Aster usage » Understanding the FORCE_FACE command » 2011-11-11 02:05:10

Hello vic,

The FY=10.0 is with respect to the global co-ordinate system.

Regards, JMB

#18 Re: Code_Aster installation » [Solved] MPI CPU load distribution not happening » 2011-11-09 22:13:12

Hello jcugnoni,

Thank you for the detailed reply!  It was most useful and now it works as expected!!!

Previously I had ensured that the steps 1 ~ 7 you had posted were in place.  My mistake was to install mpich2 and mpich2-doc and its attendant changes forced upon /opt/aster110/etc/codeaster/asrun and so on.  Once I removed the two packages and backtracked all the changes I had made to make mpich2 work, the parallelism of CodeAster_MPI works "almost-out-of-the-box".  I say almost because one does have to ensure that the other pre-requisite steps 1  ~ 7 are in place.  Then step 8 worked as you had stated.

Thanks for the wonderful job on CAELInux2011 and the above "How To".  I am VERY much grateful for it...

Regards, JMB

#19 Re: Code_Aster installation » [Solved] MPI CPU load distribution not happening » 2011-11-06 15:58:19

courtois wrote:

Try with mpi_cpu=2 (==cores) and mpi_nbnoeud=2 (==nodes), it should use 1 core on each node.

Hello courtois,
Thanks for the reply and suggestion, but it made no difference.  The job submitted on ubuntu35, continues to run ONLY on ubuntu34 with both its cores showing activity and nothing happening in ubuntu35's (4/8) cores.  Trying vice-versa also results in the job being run only in ubuntu34.

I wonder if the following has anything to do with it:
ubuntu34: Intel QuadCore (4 cores)
ubuntu35: Intel QuadCore but with hyperthreading (equivalent to 8 cores)

Regards, JMB

#20 Code_Aster installation » [Solved] MPI CPU load distribution not happening » 2011-11-04 18:58:38

JMB365
Replies: 4

Hello,

I have setup a 2 PC cluster (ubuntu34 & ubuntu35), using a standard CAELinux2011 with mpich2 package added in (I believe properly configured, since the 'Pi' test program [cpi.c] works okay in this 2 PC cluster).  I am using mumps01a.* as a test case.  It seems that with mpi_nbcpu=2 (ncpus=1 & mpi_nbnoeud=1); I always see two cores being used on ubuntu34, regardless of whether I submit the via ASTK job on ubuntu34 or ubuntu35.  I do not see the job being run on any of the cores of ubuntu35!  Can anybody clue me as to why?  Thanks.

The hostfile I am using for the jobs is:

ubuntu34:4
ubuntu35:4

Reversing the order in the $HOME/mpi_hostfile makes no difference.   I have tried various things that have not solved this problem, such as:
- Increasing mpi_nbcpu, beyond two does not run.
- Using ubuntu34:1 and ubuntu34:1 in the mpi_hostfile does not help.

I am baffled...

Regards, JMB

#21 Re: Code_Aster installation » [Solved] Failed weekly updates (11.0.31) to NEW11.0 in CAELinux2011 » 2011-11-04 18:07:21

Thomas DE SOZA wrote:

You have mixed everything. You should only duplicate the NEW11.0 folder in aster110 to a NEW11.X folder...

Hello TdS,

I realize exactly what I did.  Yes, I AM CLONING an aster install.  Here is why.  In my experience I found that if I use the method you recommend, then ASTK, catalogs and various other things get updated.  This sometimes causes numerous incompatibility problems.  CodeAster's update process is NOT robust enough yet, for me to take that risk.  As I stated earlier, my purpose it to keep /opt/aster110/ untouched.  Thank you for your comments, though.

Regards, JMB

#22 Re: Code_Aster installation » [Solved] Failed weekly updates (11.0.31) to NEW11.0 in CAELinux2011 » 2011-11-04 16:52:03

Hello delmas, It worked !!!  Thank you VERY much for your quick reply and advice.  Regards, JMB

#23 Code_Aster installation » [Solved] Failed weekly updates (11.0.31) to NEW11.0 in CAELinux2011 » 2011-11-04 15:32:13

JMB365
Replies: 4

Hello,

I am trying to update CAELinux2011's CA_11.0 to the latest weekly updates using:

# 1. Make a copy of the original release version
sudo cp -ax /opt/aster110 /opt/aster11X
sudo mv /opt/aster11X/NEW11.0 /opt/aster11X/NEW11.X

# 2. Modify the config.txt file suitably
sudo cp /opt/aster11X/NEW11.X/config.txt /opt/aster11X/NEW11.X/config.txt.orig
sudo sed --in-place -e 's/NEW11.0/NEW11.X/g' /opt/aster11X/NEW11.X/config.txt

# 3. Modify the profile.sh file suitably
sudo cp /opt/aster11X/NEW11.X/profile.sh /opt/aster11X/NEW11.X/profile.sh.orig
sudo sed --in-place -e 's/aster110/aster11X/g' /opt/aster11X/NEW11.X/profile.sh

# 4. Update CodeAster to the latest weeekly release using: 
sudo /opt/aster11X/bin/as_run --auto_update --nolocal --vers=NEW11.X
# FAILED !!!

# 5. Debug the compilation
sudo /opt/aster11X/bin/as_run -g --vers=NEW11.X --make > /tmp/output_NEW11.X 2> /tmp/error_NEW11.X

But it has failed.  My guess is one or more libraries have not been linked, but I cannot figure out which one(s).  Hopefully my procedure above is not flawed.  I realize that I am duplicating the entire /opt/aster11X directory, but I am trying to keep a functional version completely untouched.  Can somebody help me please?  The config.txt, profile.sh & error files are attached.  Thanks.

Regards, JMB

#24 Re: Code_Aster installation » issue with kernel 3.x or gcc 4.6? » 2011-11-03 00:55:23

jeanpierreaubry wrote:

what means  "compile with -O1 or -O0"? an example would help!jean pierre aubry

Hello jeanpierreaubry,

It means the optimization flags for the compiler should be set to use O1 or O0 levels.  A good writeup is here: http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

These can usually be specified as CFLAGS or FFLAGS in the Makefile of most programs (source code).  In the case of CodeAster the config.txt file uses OPTF_O and OPTC_O values.

Regards, JMB

#25 Re: Code_Aster installation » ASTK: Launching MPI job in CAELinux2011 » 2011-11-01 22:11:46

Hello TdS,  It worked!  Thank you VERY much!  Regards, JMB