I'm trying out CNTK on Google Colab, and Colab runs on Ubuntu 18.
However, CNTK requires OpenMPI 1.10.x, but this version of OpenMPI is only available on Ubuntu 16.
Is it possible to switch Colab to Ubuntu 16 to run CNTK?
I've searched around and around and seems not possible to use Google Colab with Ubuntu 16 by now (Oct 2019), it's the OS and fixed as Ubuntu 18.
My work-around is spawning a mini Ubuntu 16 docker with port-to-port binding and and let Colab connect to this mini server as local runtime server. Creating a Ubuntu 16 in docker coz my machine is also Ubuntu 18.
Related
My background in ubuntu and OpenFOAM: I started to learn to simulate in OpenFoam this week. I have windows 10 on my laptop and downloaded ubuntu 18.04 from the app store. In ubuntu OpenFOAM and paraview are installed by a guy from the ICT-helpdesk (paraview has already worked). Also, the Xming X server is installed.
My question: During the first tutorial (cavity) you must visualize the data with paraview. So after the guy installed everything, I could use paraview. Now I closed ubuntu and started again. If I now call paraFoam into action I get the following lines:
Created temporary 'cavity.foam'
paraview: cannot connect to X server
Does anybody know what to do with this? I checked this forum and I checked google, but could not find anybody with this specific problem.
Sincerely,
Me
Make sure that xming is running then run the following on your ubuntu terminal:
export DISPLAY=localhost:0
Now you can run paraview:
paraview
I have installed a pgadmin 4 on my mac os High Sierra and I'm getting an error that says the application server could not be contacted.
Why am I getting this error?
Qt5 runtime is causing many issues on MacOS High sierra, If you need a
workaround then you could try out latest development version, https://developer.pgadmin.org/~dpage/runtime-revamp/
For more information on this dev build you can refer: https://www.postgresql.org/message-id/CA%2BOCxozDyrZHDGPmP%2Bx8h11yn2mZmtv42x_dBOu3mBcrMf6NBA%40mail.gmail.com
solr-5.4.0 version
My Java version
java -version
java version "1.7.0_91"
OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)
I did all steps finally am getting this error
sudo service solr status
Found 1 Solr nodes:
Solr process 6003 from /var/solr/solr-8983.pid not found.
How to fix this error?
That Digital Ocean tutorial recommends Java 8 with Solr 5 and provides installation instructions using a PPA. I also found another SO question where switching to Java 8 was the resolution.
I created a fresh Ubuntu 14.04 VM using Vagrant and VirtualBox with these commands...
vagrant init ubuntu/trusty64
vagrant up
Then I followed the tutorial with Solr 5.4.0, and got the same error you did. However, my Solr logs were not deleted, so I was able to find this...
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 402653184 bytes for committing reserved memory.
My Vagrant VM had 512 MB of RAM so I doubled that to 1 GB which is recommended in the tutorial, did a vagrant reload, and Solr started working. Here is my minimal Vagrantfile...
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
end
end
I'm using VirtualBox 5.0.10 and Vagrant 1.8.1. I hope this works for you.
UPDATE: I just went through the tutorial again with a 32-bit Ubuntu 14.04 VM (ubuntu/trusty32 in Vagrantfile) and that also worked. So if you're on a 32-bit host or the 64-bit VM doesn't work for you, the 32-bit VM should work.
I will throw my answer in here just in case someone else spends another hour like I did.
Solr version 6.1.0 + Java 1.7 same error.
I had to upgrade to 1.8. How did I know that was the problem?
:/var/solr/logs# cat solr-8983-console.log
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/jetty/start/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at ....
The 52 version means you need Java 1.8.
Upgrade Ubuntu using
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
Credit to this comment.
I have just git cloned cakebox to my c drive and then then did what the documentation says to copy the .yaml file and then select vagrant up. When I did that then I get a 0x80004005 error and saying that failed to create host-only adapter.
I have windows 10, the latest version of vagrant and the latest version of virtualbox. I installed windows 10 yesterday. I installed virtualbox and then install vagrant. then did the command to get cakebox. I have seen other posts on here that says to restart virtualbox but that is only on mac os x and linux. How can I fix this issue so I am able to get it working for cake3
After installing the simulator I am not able to follow the instructions found here. I installed BlackBerry 10 Dev Alpha B Simulator. The page asks to run "BlackBerry10Simulator-BB10_ n_nn" but I cannot find any thing like that in my installation directory:
ls -1 BlackBerry10Simulator-BB10_0_10-261/
BlackBerry10Simulator-BB10_0_10.vmwarevm
bbm
controllers
install
I found "runBB10Simulator.sh" in the bbm directory but running it does not actually run a simulator, I am not sure what it does.
$ls -1 BlackBerry10Simulator-BB10_0_10-261/bbm
KeyNego.SIMULATOR.keystore
README.txt
Servers
bin
classpath
licenses
runBB10Simulator.sh
shutdown.sh
Can anyone help?
The simulator requires VMWare player, a free download.
http://www.vmware.com/products/player/
Cheers
EDIT:
Mac OS requires http://www.vmware.com/products/fusion/overview.html which is not free. Either bootcamp windows, install a linux distro or virtualize either to virtualize the emulator... (XZibit meme someone?) which is likely not going to work.
MAC OS requires VMFusion 30 day trial for installing the BB 10 simulator.
#russoue:- Once you install VMware Fusion Just open the **BlackBerry10Simulator-BB10_0_10.vmwarevm** with VMware Fusion and you are done. it will take some 5 min to load simulator.