Problem with using new uniaxialMaterial

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
sarajo
Posts: 4
Joined: Tue Mar 05, 2019 11:19 pm

Problem with using new uniaxialMaterial

Post by sarajo » Tue Mar 05, 2019 11:39 pm

Hello everyone! I am trying to use a new material in OpenSees. I have the .dll file saved in the same folder as the .tcl file.But I am getting an error: WARNING could not create uniaxialMaterial..
I don't think there is anything wrong with the dll file because I get this error only on a desktop but the same code and .dll file works perfectly fine on my laptop. Can anyone please help?

mpoliotti
Posts: 5
Joined: Thu Jul 13, 2017 6:11 am
Location: Universidad Politecnica de Catalunya

Re: Problem with using new uniaxialMaterial

Post by mpoliotti » Wed Mar 06, 2019 12:08 am

Hi, your laptop and your desktop have the same system 32 or 64 b ? If you have compiled your dll for 32b, it will only work there.

sarajo
Posts: 4
Joined: Tue Mar 05, 2019 11:19 pm

Re: Problem with using new uniaxialMaterial

Post by sarajo » Wed Mar 06, 2019 2:38 am

Thanks for the reply mpoliotti !Both my laptop and desktop have 64b system. Is there anything else that could be the problem?

mpoliotti
Posts: 5
Joined: Thu Jul 13, 2017 6:11 am
Location: Universidad Politecnica de Catalunya

Re: Problem with using new uniaxialMaterial

Post by mpoliotti » Wed Mar 06, 2019 4:44 am

Are you using the same version of Opensees and Tcl on both computers??

sarajo
Posts: 4
Joined: Tue Mar 05, 2019 11:19 pm

Re: Problem with using new uniaxialMaterial

Post by sarajo » Wed Mar 06, 2019 4:56 am

Yes, I am using the same version of Opensees and Tcl on both computers..

mpoliotti
Posts: 5
Joined: Thu Jul 13, 2017 6:11 am
Location: Universidad Politecnica de Catalunya

Re: Problem with using new uniaxialMaterial

Post by mpoliotti » Thu Mar 07, 2019 12:19 am

I dont know what can be the problem. Maybe you can try to compile the dll again on both computers.

sarajo
Posts: 4
Joined: Tue Mar 05, 2019 11:19 pm

Re: Problem with using new uniaxialMaterial

Post by sarajo » Thu Mar 07, 2019 12:42 am

Ok.Thanks for your help!

Post Reply