Skip to content

0x00 Getting Started

Chad Peters edited this page Jun 11, 2020 · 2 revisions

Getting Started

Host OS: target Platform is Ubuntu 18.04  Uses Python 3.6+ for everything.  Rebuilding Soar libraries with Scons/swig still requires a Python 2.7 executable. CCM Python ACT-R Source: https://github.com/CarletonCognitiveModelingLab/CCMSuite3  Include CCMSuite3/cmm module in PYTHON_PATH o Includes should work “as-is” CMU ACT-R Source: http://act-r.psy.cmu.edu/software/  Need to start act-r environment script for anything to work (GUI/CLI/remote) o Make sure tcp/ip address and port are saved to %USER% (Windows) or ~ (Linux) o Soar Website: https://soar.eecs.umich.edu/articles/articles/building-soar Example usage of Python 3: https://github.com/amininger/pysoarlib Example usage of two Soar environments: https://github.com/timsaucer/SoarGym  SoarGym code assumes your terminal pre-load LD_LIBRARY_PATH with location of soar binaries.  If using an IDE with sources root, comment out library checks. All official release binaries have been pre-compiled for Windows/MacOS/Linux environments. All Python examples make use of sml_python_interface module to access C extensions. However, the SML Python Interface (sml_python_interface.dll/so) will need to be recompiled with Python 3.6+ for the target architecture/environment while launching scons.py from a Python 2.7+ interpreter.  Edit $SOAR_HOME/Core/ClientSMLSWIG/Python/SConscript: o clone['SWIGFLAGS'] = ['-c++', '-python', '-py3']  Ensure you have Python 2 and 3 installed and available.  Launch:> /bin/bash python2 scons/scons.py sml_python –python=python3 Gym Source: https://github.com/openai/gym pip install gym and box2d (physics for LunarLander-v2)

Clone this wiki locally