The discussion forums in the XSEDE User Portal are for users to share experiences, questions, and comments with other users and XSEDE staff. Visitors are welcome to browse and search, but you must login to contribute to the forums. While XSEDE staff monitor the lists, XSEDE does not guarantee that questions will be answered. Please note that the forums are not a replacement for formal support or bug reporting procedures through the XSEDE Help Desk. You must be logged in to post to the user forums.

« Back to Resources

tensorflow on Bridges

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
tensorflow on Bridges
Answer
5/23/17 10:14 PM
Hi, I'm new to XSEDE and I'm trying to use tensorflow on Bridges. I'm having trouble successfully importing tensorflow. I've tried to submit the following bash script:

#!/bin/bash
#SBATCH --job-name="test"
#SBATCH --output="test.%j.%N.out"
#SBATCH -p RM-shared
#SBATCH -N 1
#SBATCH --ntasks-per-node=12
#SBATCH --export=ALL
#SBATCH -t 00:05:00

module load tensorflow/1.0.1
python test.py

which calls the python program test.py, shown below:

import tensorflow as tf
print('running tensorflow test')

This gives the following error: ImportError: No module named tensorflow

Any help would be much appreciated!

RE: tensorflow on Bridges
Answer
5/25/17 4:31 PM as a reply to Christopher Allan Strong.
Hello Christopher,

This will most effectively be handled by the Bridges team. I have submitted a ticket ( 69073) on your behalf to the XSEDE ticket system. A member of the PSC support team will respond through the ticket with a solution.

Thanks,
Chris

Chris Hempel
XSEDE User Engagement