SCons for Ansys APDL Analysis

"Hubley, Christopher (GE Aerospace, US)" <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
Thanks!

I wasn't able to get the analysis to work without setting "duplicate=True".

However, when I do that SCons seems to want to recompile everything if I delete the duplicates.

Perhaps it's not working because I'm working in Windows/Cygwin. Our setup is a bit... specific.
Maybe Windows wants to generate .lnk files rather than softlinks, which might be preventing Ansys from seeing the files.

I'm not sure exactly how to debug things like that with SCons though...

Perhaps there are some options that I need to set to get it working.

-Chris


Christopher K. Hubley
Senior Engineer, TFTJ Fan & Compressor
GE Aviation


-----Original Message-----
From: Scons-users <[email protected]> On Behalf Of Mats Wichmann
Sent: Monday, October 17, 2022 2:14 PM
To: [email protected]
Subject: EXT: Re: [Scons-users] SCons for Ansys APDL Analysis

WARNING: This email originated from outside of GE. Please validate the sender's email address before clicking on links or attachments as they may not be safe.

On 10/17/22 12:02, Hubley, Christopher (GE Aerospace, US) wrote:

> I've got a couple of goals:
> 
> * Generate results in a separate directory from source code
>    (I think that this requires copying the source into target directory and
>     removing it after compiling)

Zeroing in just on this one piece: SCons has support for this via a concept called a "variant directory", which is a shadow of your source directory (created either using links/copies, or by doing beind the covers path fiddling, depending on options you select). You build in the variant directory, leaving the results there, if you selected the non-copying option, the sources won't be left there.


_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.