Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

environment file

Status
Not open for further replies.

bebme

Bioengineer
Apr 11, 2008
19
Hello, does anyone have an updated environment file I can take a look at that works for abaqus version 6.8.
We ugraded from v6.7 and I get the following error when I try to run a program with my existing env file. Attached is my old env file. Any idea what I am missing?
I get the error when i run it with the old env file:
Traceback (most recent call last):
File "Python/driver/driverEnv.py", line 248, in envRunFile
File "/share/roshoge/abaqus_v6.env", line 156, in ?
mp_mpirun_path = {HP: hpmpipath,
NameError: name 'CRAY' is not defined


Thanks!
Rich
 
Replies continue below

Recommended for you

#
# System-Wide Abaqus Environment File
# -------------------------------------
standard_parallel = ALL
mp_mode = MPI
mp_file_system = (DETECT,DETECT)
mp_environment_export = ('MPI_PROPAGATE_TSTP',
'ABA_CM_BUFFERING',
'ABA_CM_BUFFERING_LIMIT',
'ABA_DDM_DEBUG',
'ABA_DMPSOLVER_BWDPARALLELOFF',
'ABA_ELP_SURFACE_SPLIT',
'ABA_ELP_SUSPEND',
'ABA_HOME',
'ABA_MEMORY_MODE',
'ABA_MPI_MESSAGE_TRACKING',
'ABA_MPI_VERBOSE_LEVEL',
'ABA_PATH',
'ABA_RESOURCE_MONITOR',
'ABA_RESOURCE_USEMALLINFO',
'ABAQUS_LANG',
'ABAQUSLM_LICENSE_FILE',
'ABQ_CRTMALLOC',
'ABQ_DATACHECK',
'ABQ_RECOVER',
'ABQ_RESTART',
'ABQ_SPLITFILE',
'ABQ_XPL_WINDOWDUMP',
'ABQ_XPL_PARTITIONSIZE',
'ABQLMHANGLIMIT',
'ABQLMQUEUE',
'ABQLMUSER',
'CCI_RENDEZVOUS',
'DOMAIN',
'DOMAIN_CPUS',
'FLEXLM_DIAGNOSTICS',
'FOR0006',
'FOR0064',
'LD_PRELOAD',
'MP_NUMBER_OF_THREADS',
'MPC_GANG',
'MPI_SOCKBUFSIZE',
'MPI_WORKDIR',
'MPCCI_SERVER',
'MPCCI_INITIAL_EXCHANGE',
'_MPCCI_CCM_CODE_IDS',
'_MPCCI_CODE_IDSTRING',
'ABAQUS_CCI_DEBUG',
'NCPUS',
'OMP_DYNAMIC',
'OMP_NUM_THREADS',
'PAIDUP',
'PARALLEL_METHOD',
'RAIDEV_NDREG_LAZYMEM',
'ABA_SYMBOLIC_GENERALCOLLAPSE',
'ABA_SYMBOLIC_GENERAL_MAXCLIQUERANK',
'ABA_ADM_MINIMUMINCREASE',
'ABA_ADM_MINIMUMDECREASE')


compile_cpp=['cl', '/c', '/nologo', '/W0', '/MD',
'/TP', '/EHsc', '/DNDEBUG', '/DWIN32', '/DTP_IP', '/D_CONSOLE',
'/DNTI', '/DFLT_LIC', '/DOL_DOC', '/D__LIB__', '/DHKS_NT',
'/DABQ_NTI_NET', '/DFAR=', '/D_WINDOWS', '/DABQ_WIN86_64',
'/O1', '/I%I']

compile_fortran=['ifort', '/c',
'/DABQ_WIN86_64', '/nologo', '/include:%I']

link_sl=['LINK', '/nologo', '/INCREMENTAL:NO',
'/subsystem:console', '/machine:AMD64', '/NODEFAULTLIB:LIBC.LIB', '/NODEFAULTLIB:LIBCMT.LIB',
'/DEFAULTLIB:OLDNAMES.LIB', '/DEFAULTLIB:LIBIFCOREMD.LIB',
'/DEFAULTLIB:LIBIFPORTMD.LIB', '/DEFAULTLIB:LIBMMD.LIB',
'/DEFAULTLIB:MSVCRT.LIB', '/DEFAULTLIB:kernel32.lib',
'/DEFAULTLIB:user32.lib', '/DEFAULTLIB:advapi32.lib',
'/FIXED:NO', '/dll', '/def:%E', '/out:%U', '%F', '%A', '%B',
'oldnames.lib', 'user32.lib', 'ws2_32.lib', 'netapi32.lib',
'advapi32.lib']

link_exe=['LINK', '/nologo', '/INCREMENTAL:NO',
'/subsystem:console', '/machine:AMD64', '/NODEFAULTLIB:LIBC.LIB', '/NODEFAULTLIB:LIBCMT.LIB',
'/DEFAULTLIB:OLDNAMES.LIB', '/DEFAULTLIB:LIBIFCOREMD.LIB',
'/DEFAULTLIB:LIBIFPORTMD.LIB', '/DEFAULTLIB:LIBMMD.LIB',
'/DEFAULTLIB:MSVCRT.LIB', '/DEFAULTLIB:kernel32.lib',
'/DEFAULTLIB:user32.lib', '/DEFAULTLIB:advapi32.lib',
'/FIXED:NO', '/LARGEADDRESSAWARE', '/out:%J', '%F', '%M', '%L', '%B',
'%O', 'oldnames.lib', 'user32.lib', 'ws2_32.lib', 'netapi32.lib',
'advapi32.lib']

# Link command to be used for MAKE w/o fortran compiler.
# remove the pound sign in order to remove the comment and have the file take effect.
#
# link_exe=['LINK', '/nologo', '/INCREMENTAL:NO',
# '/subsystem:console', '/machine:AMD64', '/NODEFAULTLIB:LIBC.LIB', '/NODEFAULTLIB:LIBCMT.LIB',
# '/DEFAULTLIB:OLDNAMES.LIB', '/DEFAULTLIB:MSVCRT.LIB', '/DEFAULTLIB:kernel32.lib',
# '/DEFAULTLIB:user32.lib', '/DEFAULTLIB:advapi32.lib',
# '/FIXED:NO', '/LARGEADDRESSAWARE', '/out:%J', '%F', '%M', '%L', '%B',
# '%O', 'oldnames.lib', 'user32.lib', 'ws2_32.lib', 'netapi32.lib',
# 'advapi32.lib']

# MPI Configuration
mp_mode = THREADS

import driverUtils, os
mp_mpi_implementation = NATIVE
mp_rsh_command = 'dummy %H -l %U -n %C'
mp_mpirun_path = {NATIVE:'C:\\Program Files\\Microsoft Compute Cluster Pack\\Bin\\mpiexec.EXE',
HP:'c:\\Program Files (x86)\\Hewlett-Packard\\HP-MPI\\bin\\mpirun.exe'}

if os.path.exists(mp_mpirun_path[NATIVE]):
mp_mode=MPI
run_mode=BATCH

from queueCCS import QueueCCS
queues['default'] = QueueCCS(queueName='share', requireShareSubmit=1)
queues['share'] = QueueCCS(queueName='share', requireShareSubmit=1)
queues['local'] = QueueCCS(queueName='local', requireShareSubmit=1)
queues['genxmlshare'] = QueueCCS(queueName='genxmlshare', requireShareSubmit=1)
queues['genxmllocal'] = QueueCCS(queueName='genxmllocal', requireShareSubmit=1)

# Delete/comment the following two lines if MS MPI is the preferred default
if os.path.exists(mp_mpirun_path[HP]):
mp_mpi_implementation = HP

import driverUtils, os
graphicsEnv = driverUtils.locateFile(os.environ['ABA_PATH'],'site','graphicsConfig','env')
if graphicsEnv:
execfile(graphicsEnv)
else:
raise 'Cannot find the graphics configuration environment file (graphicsConfig.env)'

del driverUtils, os, graphicsEnv
abaquslm_license_file="27000@blaprocrdc238"

doc_root="
abaqus_no_hardware_acceleration=ON
#max_cpus=6
#scratch="E:\temp"
ask_delete=OFF
def onCaeStartup():
def setVisPreferences(module,userData):
import visualization
session.defaultOdbDisplay.contourOptions.setValues(
renderStyle=FILLED,visibleEdges=EXTERIOR,
contourStyle=CONTINUOUS,
minAutoCompute=OFF,
minValue=0)
addImportCallback('visualization',setVisPreferences)

Rob Stupplebeen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor