Error when trying to update Code_Aster
- Mattia
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
13 years 5 months ago #5956
by Mattia
Mattia
I'm working with 2 versions of Code_Aster:
a) NEW11 version with all updates, running on a Intel 64 with 4 cores
b) CAElinux version (as installed), running on a Intel Core i5 (my laptop)
Error when trying to update Code_Aster was created by Mattia
Dear everybody,
it was suggested me to ask for help here, for what concerns this problem. After installing CAElinux on my laptop, I tried to manually install the updates of Code_Aster, but I got the following error:
Could someone please explain me how could I solve this problem?
Thank you very much!
it was suggested me to ask for help here, for what concerns this problem. After installing CAElinux on my laptop, I tried to manually install the updates of Code_Aster, but I got the following error:
Archive object files
3639 / 6575 objects added to archive... [ OK ]
0 / 6575 objects added to archive... [ SKIP ]
<INFO> 6575 files archived
<INFO> 2936 files skipped (objects older than library)
--------------------------------------------------------------------------------
Archive object files
1002 / 1002 objects added to archive... [ OK ]
<INFO> 1002 files archived
--------------------------------------------------------------------------------
Build Code_Aster executable
extracting 'python.o' from libasterd.a... [ OK ]
creating .../NEW11.0/asterd... [FAILED]
Exit code : 256
/usr/bin/ld: Warning: size of symbol `petscfortran7_' changed from 16 in /opt/aster110/NEW11.0/lib/libasterd.a(apetsc.o) to 8 in /opt/petsc/lib/linux-gnu-c-opt/libpetsc.a(somefort.o)
/opt/aster110/NEW11.0/lib/libasterd.a(vebume.o): In function `vebume':
/opt/aster110/NEW11.0/bibfor/algorith/vebume.f:110: undefined reference to `conlag_'
/opt/aster110/NEW11.0/lib/libasterd.a(lcdpec.o): In function `lcdpec':
/opt/aster110/NEW11.0/bibfor/algorith/lcdpec.f:108: undefined reference to `lcmmlc_'
/opt/aster110/NEW11.0/bibfor/algorith/lcdpec.f:169: undefined reference to `lcgrla_'
/opt/aster110/NEW11.0/lib/libasterd.a(calcfe.o): In function `calcfe':
/opt/aster110/NEW11.0/bibfor/algorith/calcfe.f:61: undefined reference to `lcdetf_'
/opt/aster110/NEW11.0/bibfor/algorith/calcfe.f:93: undefined reference to `lcdetf_'
collect2: ld returned 1 exit status
<E>_LINK_ERROR error during linking
Could someone please explain me how could I solve this problem?
Thank you very much!
Mattia
I'm working with 2 versions of Code_Aster:
a) NEW11 version with all updates, running on a Intel 64 with 4 cores
b) CAElinux version (as installed), running on a Intel Core i5 (my laptop)
- Joël Cugnoni
-
- Offline
- Moderator
-
13 years 5 months ago #5960
by Joël Cugnoni
Joël Cugnoni - a.k.a admin
www.caelinux.com
Replied by Joël Cugnoni on topic Re: Error when trying to update Code_Aster
Hi,
my guess is that the compiler does not find the right PETSC library or that some headers have changed and thus all the Aster components must be recompiled... Unfortunatelly I don't have my "build" machine here, but I will try to figure out what's going wrong.
Could you please describe the procedure that you followed to reach this stage ?
my guess is that the compiler does not find the right PETSC library or that some headers have changed and thus all the Aster components must be recompiled... Unfortunatelly I don't have my "build" machine here, but I will try to figure out what's going wrong.
Could you please describe the procedure that you followed to reach this stage ?
Joël Cugnoni - a.k.a admin
www.caelinux.com
- Mattia
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
13 years 5 months ago #5961
by Mattia
Mattia
I'm working with 2 versions of Code_Aster:
a) NEW11 version with all updates, running on a Intel 64 with 4 cores
b) CAElinux version (as installed), running on a Intel Core i5 (my laptop)
Replied by Mattia on topic Re: Error when trying to update Code_Aster
Hi jcugnoni,
thanks for your reply. Here's the procedure I followed:
1. first I installed the latest version of CAElinux
2. then I started installing the packages in order to update Code_Aster; the command I wrote in my terminal was:
I got the error when trying to install the first package.
thanks for your reply. Here's the procedure I followed:
1. first I installed the latest version of CAElinux
2. then I started installing the packages in order to update Code_Aster; the command I wrote in my terminal was:
as_run --update aster-maj-src-11.0.11-1.tar.gz
I got the error when trying to install the first package.
Mattia
I'm working with 2 versions of Code_Aster:
a) NEW11 version with all updates, running on a Intel 64 with 4 cores
b) CAElinux version (as installed), running on a Intel Core i5 (my laptop)
- Mattia
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
13 years 4 months ago #5985
by Mattia
Mattia
I'm working with 2 versions of Code_Aster:
a) NEW11 version with all updates, running on a Intel 64 with 4 cores
b) CAElinux version (as installed), running on a Intel Core i5 (my laptop)
Replied by Mattia on topic Re: Error when trying to update Code_Aster
Doesn't anyone have suggestions?

Mattia
I'm working with 2 versions of Code_Aster:
a) NEW11 version with all updates, running on a Intel 64 with 4 cores
b) CAElinux version (as installed), running on a Intel Core i5 (my laptop)
- Mattia
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
13 years 4 months ago #6007
by Mattia
Mattia
I'm working with 2 versions of Code_Aster:
a) NEW11 version with all updates, running on a Intel 64 with 4 cores
b) CAElinux version (as installed), running on a Intel Core i5 (my laptop)
Replied by Mattia on topic Re: Error when trying to update Code_Aster
Bump
Mattia
I'm working with 2 versions of Code_Aster:
a) NEW11 version with all updates, running on a Intel 64 with 4 cores
b) CAElinux version (as installed), running on a Intel Core i5 (my laptop)
- Joël Cugnoni
-
- Offline
- Moderator
-
13 years 4 months ago #6008
by Joël Cugnoni
Joël Cugnoni - a.k.a admin
www.caelinux.com
Replied by Joël Cugnoni on topic Re: Error when trying to update Code_Aster
Sorry Mattia but I did not find the time to replicate the problem here... the last months of the year are terribly busy for me...
But I think that the problem may be caused by the fact that 2 PETSC libraries are present in CAELinux: one is specific to Aster and is in /opt, but the other is installed as a system package. So maybe that asrun does not use the right version.
When I compiled Aster, the system Petsc libraries where not installed. You can try to remove the system PETSC libraries from Synaptics and then rerun the update... The system PETSC libraries are used by ELMER only.
But I think that the problem may be caused by the fact that 2 PETSC libraries are present in CAELinux: one is specific to Aster and is in /opt, but the other is installed as a system package. So maybe that asrun does not use the right version.
When I compiled Aster, the system Petsc libraries where not installed. You can try to remove the system PETSC libraries from Synaptics and then rerun the update... The system PETSC libraries are used by ELMER only.
Joël Cugnoni - a.k.a admin
www.caelinux.com
Moderators: catux
Time to create page: 0.220 seconds