<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Example of simple sparkhpc usage in the Jupyter notebook
Configure python for using the spark python libraries with findspark
Step1:  Launch the standalone spark clusters using sparkhpc
Step2:  Create a SparkContext and start computing
Step3:  Teardown
<ASSISTANT_TASK:>
Python Code:
import findspark; findspark.init()
Explanation: Example of simple sparkhpc usage in the Jupyter notebook
Configure python for using the spark python libraries with findspark
End of explanation
import sparkhpc
sj = sparkhpc.sparkjob.LSFSparkJob(ncores=4)
sj.wait_to_start()
sj
sj2 = sparkhpc.sparkjob.LSFSparkJob(ncores=10)
sj2.submit()
sj.show_clusters()
Explanation: Launch the standalone spark clusters using sparkhpc
End of explanation
from pyspark import SparkContext
sc = SparkContext(master=sj.master_url)
sc.parallelize(range(100)).count()
Explanation: Create a SparkContext and start computing
End of explanation
sj.stop()
sj2.stop()
sj.show_clusters()
Explanation: Teardown
End of explanation
<END_TASK>