🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

acusolve configuration file and pdir

User: "Prabin Pradhananga_22497"
Altair Community Member
Updated by unknown

Hi guys,

I have two simulations. Second simulation folder is inside the first folder.

%%%%%%%%%%%%%%%%% FIRST %%%%%%%%%%%%%%%%%%%%%

I have a configuration file, Acusim.cnf with

Location: /home/user/simulation

# date = Fri Nov 4 13:33:04 2022
problem = test
problem_directory = /home/user/simulation
working_directory = ACUSIM.DIR
process_modules = all
input_file = _auto
message_passing_type = impi
num_processors = 24

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%% SECOND %%%%%%%%%%%%%%%%%%%

Location: /home/user/simulation/inside

# date = Fri Nov 4 13:33:04 2022
problem = test
problem_directory = /home/user/simulation/
working_directory = ACUSIM.DIR
process_modules = all
input_file = _auto
message_passing_type = impi
num_processors = 24

But I call acusolve from terminal with command: acuRun -pdir /home/user/simulation/inside

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I mean the two problems have same configuration file. Except that i call first problem with terminal command acuRun -pdir /home/user/simulation and second problem with terminal command  acuRun -pdir /home/user/simulation/inside.

Are these simulations solving same problem or different problem? Does specifying flag -pdir -np in acuRun terminal command neglect/override what is written in the configuration file?

 

Thanks!