<div dir="ltr">Hello!<br><br><div>I am a student at UNC Chapel Hill and I have been working with Bob and John over there at Kitware on creating a simulation template so IBAMR (<a href="https://github.com/IBAMR/IBAMR/">https://github.com/IBAMR/IBAMR/</a>)  users can use Computational Model Builder to set up their simulations.</div><div><br></div><div>I use IPython and Jupyter notebooks and would like to be able to import the smtk module so I can explore and test out more of its functionality.</div><div><br></div><div>Unfortunately the python 2.7 packaged with CMB appears to have been installed with 2-byte unicode characters:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>$ /path/to/CMBpython</div><div><br></div><div><div>>>> import sysconfig</div></div><div><div>>>> sysconfig.get_config_var('Py_UNICODE_SIZE')</div></div><div><div>2</div></div></blockquote><div><br></div><div>This is not compatible with my system Ipython kernel...I believe Ubuntu 14.04 and later have moved to 4-byte unicode characters.</div><div><br></div><div>Is there a way I can build CMB where python is compiled to use 4-byte Unicode characters? I'm not sure how to set this option when building CMB with CMake.</div><div><br></div><div>If I was building it from source myself I could install it like so:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><br></div><div><div>./configure --enable-unicode=ucs4</div></div><div><div>make </div></div><div><div>make install<span style="color:rgb(0,0,0);font-family:verdana,sans-serif">./configure --enable-unicode=ucs4</span></div></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif"><br></span></div></blockquote>My thought is that if it is installed with UCS4, then it will build/install all the modules correctly and then I can access them with my system ipython by appropriately using sys.path.append("path/to/smtk").</div><div><br></div><div>Thanks for your time,</div><div>Elijah</div></div>